Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 167.4 kB / 24.86 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.792/1.792, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.626e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001406/0.001423, allocations: 0.6644 MB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004007/0.00543, allocations: 0.8405 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.00548, allocations: 0 / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.005576, allocations: 6.219 kB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.124e-05/0.005598, allocations: 0 / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.0057, allocations: 15.92 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.005766, allocations: 23.92 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.00584, allocations: 4 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.005895, allocations: 15.92 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.005941, allocations: 13.05 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.005955, allocations: 0 / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.005961, allocations: 4 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.006002, allocations: 5.562 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.006026, allocations: 15.91 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.786e-05/0.006094, allocations: 19.98 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006096, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006097, allocations: 0.5 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.0061, allocations: 1.219 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003152/0.006415, allocations: 368.5 kB / 0.7902 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006449, allocations: 12.03 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.006474, allocations: 7.062 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.006573, allocations: 112.6 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.006582, allocations: 4.375 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.006588, allocations: 384 / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.006683, allocations: 58.94 kB / 0.7904 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.00669, allocations: 2.281 kB / 0.7904 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.006696, allocations: 384 / 0.7904 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006704, allocations: 4.375 kB / 0.7904 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.006719, allocations: 7.875 kB / 0.7904 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.006937, allocations: 244.4 kB / 0.7907 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/0.006975, allocations: 32.61 kB / 0.7907 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.006989, allocations: 7.688 kB / 0.7907 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.006995, allocations: 0 / 0.7907 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.00702, allocations: 37.45 kB / 0.7908 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.007021, allocations: 9.672 kB / 0.7908 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001024/0.007124, allocations: 37.62 kB / 0.7908 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.007152, allocations: 51.41 kB / 0.7908 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.007216, allocations: 158.2 kB / 0.791 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.007226, allocations: 26.7 kB / 0.791 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.007273, allocations: 142.8 kB / 0.7912 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.007285, allocations: 0 / 0.7912 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003034/0.01032, allocations: 19.91 kB / 0.7912 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01044, allocations: 494.1 kB / 0.7916 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.01045, allocations: 0 / 0.7916 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.01046, allocations: 4.062 kB / 0.7917 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.01048, allocations: 19.62 kB / 0.7917 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01048, allocations: 2.531 kB / 0.7917 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.758e-05/0.01054, allocations: 37.64 kB / 0.7917 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01055, allocations: 11.94 kB / 0.7917 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01056, allocations: 0 / 0.7917 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.555e-06/0.01056, allocations: 0 / 0.7917 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.01061, allocations: 4 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.01062, allocations: 0.7188 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.01064, allocations: 7.938 kB / 0.7917 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.01064, allocations: 0.5312 kB / 0.7917 GB, free: 8.512 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.01071, allocations: 158.2 kB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.01072, allocations: 0 / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.01074, allocations: 11.09 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01075, allocations: 0 / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01075, allocations: 0.6562 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.01075, allocations: 3.938 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.01086, allocations: 106.3 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01086, allocations: 0 / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.01088, allocations: 4 kB / 0.792 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.01088, allocations: 5.094 kB / 0.792 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.01088, allocations: 0 / 0.792 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01088, allocations: 0 / 0.792 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01088, allocations: 5.312 kB / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.229e-05/0.01098, allocations: 179.9 kB / 0.7922 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.01098, allocations: 7.953 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.01099, allocations: 0.8438 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.304e-05/0.01104, allocations: 0 / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.01106, allocations: 8.781 kB / 0.7922 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.01106, allocations: 0 / 0.7922 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.0111, allocations: 131.2 kB / 0.7923 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0111, allocations: 1.281 kB / 0.7923 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/0.0113, allocations: 8 kB / 0.7923 GB, free: 7.844 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.967e-05/0.01137, allocations: 96.03 kB / 0.7924 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.567e-05/0.01143, allocations: 12.62 kB / 0.7924 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01143, allocations: 0 / 0.7924 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.01144, allocations: 13.19 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01166, allocations: 7.984 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.01188, allocations: 128.3 kB / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.01191, allocations: 51.36 kB / 0.7926 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.01193, allocations: 3.094 kB / 0.7926 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.01197, allocations: 70.2 kB / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01197, allocations: 0 / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.002259/0.01423, allocations: 0.5125 MB / 0.7932 GB, free: 6.918 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991096381098032]