Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001979/0.001979, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002/0.002, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.047/3.047, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_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.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.023e-05, allocations: 4.438 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002244/0.002275, allocations: 0.6521 MB / 0.8114 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.003627, allocations: 0.8134 MB / 0.8122 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.003673, allocations: 0.8125 kB / 0.8122 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003782, allocations: 8.797 kB / 0.8122 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.00381, allocations: 2.359 kB / 0.8122 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.003918, allocations: 8.656 kB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.003998, allocations: 25.45 kB / 0.8123 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.004097, allocations: 4 kB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.004174, allocations: 16.86 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.004236, allocations: 15.91 kB / 0.8123 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.004257, allocations: 4 kB / 0.8123 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.004265, allocations: 0.7812 kB / 0.8123 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.004324, allocations: 11.98 kB / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.004352, allocations: 1.688 kB / 0.8123 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.004458, allocations: 35.83 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00446, allocations: 0 / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004461, allocations: 0 / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004465, allocations: 1.531 kB / 0.8124 GB, free: 15.37 MB / 0.7292 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.0005473/0.005012, allocations: 368.3 kB / 0.8127 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.005053, allocations: 8.031 kB / 0.8127 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.005099, allocations: 12.86 kB / 0.8127 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.005259, allocations: 109.1 kB / 0.8128 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.005272, allocations: 6.125 kB / 0.8128 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005283, allocations: 4.375 kB / 0.8128 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.005436, allocations: 42.25 kB / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.005446, allocations: 192 / 0.8129 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.005459, allocations: 4.375 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005463, allocations: 1.188 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.005571, allocations: 28.62 kB / 0.8129 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.006014, allocations: 281 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.006121, allocations: 31.06 kB / 0.8132 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.006185, allocations: 19.73 kB / 0.8132 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.0062, allocations: 2.562 kB / 0.8132 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.006244, allocations: 41.33 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.006245, allocations: 0 / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002751/0.00652, allocations: 61.55 kB / 0.8133 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.00657, allocations: 55.41 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.006713, allocations: 162.5 kB / 0.8135 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.006736, allocations: 30.42 kB / 0.8136 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.006826, allocations: 134.8 kB / 0.8137 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.006841, allocations: 0.5312 kB / 0.8137 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.006893, allocations: 19.38 kB / 0.8137 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000274/0.007167, allocations: 497.8 kB / 0.8142 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.007225, allocations: 11.98 kB / 0.8142 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.007264, allocations: 4 kB / 0.8142 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.007358, allocations: 32.8 kB / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007359, allocations: 0 / 0.8142 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001443/0.007503, allocations: 62.59 kB / 0.8143 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007517, allocations: 5.156 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007522, allocations: 0 / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.007538, allocations: 0 / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.007605, allocations: 9.375 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00761, allocations: 0 / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.00764, allocations: 4 kB / 0.8143 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.007646, allocations: 0.7188 kB / 0.8143 GB, free: 13.17 MB / 0.7292 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 0.0001227/0.007768, allocations: 157.6 kB / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.007803, allocations: 7.938 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.007822, allocations: 7.156 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.007826, allocations: 5.109 kB / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007829, allocations: 0 / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.007831, allocations: 0 / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.007995, allocations: 121.5 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007996, allocations: 3.938 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.008034, allocations: 6.219 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008035, allocations: 0 / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.008045, allocations: 3.938 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008046, allocations: 0 / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.008047, allocations: 0 / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.008291, allocations: 198.7 kB / 0.8148 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-06/0.008299, allocations: 4 kB / 0.8148 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008313, allocations: 3.938 kB / 0.8148 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.00837, allocations: 7.938 kB / 0.8148 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.008414, allocations: 3.984 kB / 0.8148 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.008416, allocations: 0 / 0.8148 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.008502, allocations: 127.2 kB / 0.8149 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008503, allocations: 0 / 0.8149 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002152/0.008718, allocations: 9.516 kB / 0.815 GB, free: 12.46 MB / 0.7292 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 0.0001364/0.008854, allocations: 101.7 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.009016, allocations: 28.86 kB / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009018, allocations: 0 / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.009085, allocations: 20.23 kB / 0.8151 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.009335, allocations: 10.25 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.009684, allocations: 127.5 kB / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.009767, allocations: 63.34 kB / 0.8153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.009793, allocations: 1.094 kB / 0.8153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.009824, allocations: 8.5 kB / 0.8153 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.009825, allocations: 0.6562 kB / 0.8153 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.00326/0.01308, allocations: 473.6 kB / 0.8158 GB, free: 11.6 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.039407726959325]