Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.000966/0.000966, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009784/0.0009784, allocations: 181 kB / 23.36 MB, free: 1.129 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.9912/0.9912, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.459/2.459, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.215e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001169/0.001191, allocations: 0.6297 MB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.004184, allocations: 1.178 MB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.004248, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004356, allocations: 3.938 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.00439, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.004894, allocations: 123.6 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.005056, allocations: 87.81 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.005139, allocations: 15.97 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.005229, allocations: 47.91 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.005333, allocations: 31.94 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.005356, allocations: 8 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.005421, allocations: 16 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.005471, allocations: 7.984 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.005523, allocations: 31.92 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.005679, allocations: 79.81 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005682, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.213e-06/0.005683, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.005687, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 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.0003783/0.006065, allocations: 274.6 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.006103, allocations: 11.97 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.006144, allocations: 20.92 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.006294, allocations: 117.7 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.006306, allocations: 4.375 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.006327, allocations: 8.375 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.0064, allocations: 38.25 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.006407, allocations: 4.125 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.006414, allocations: 384 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006419, allocations: 384 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.397e-05/0.006433, allocations: 7.938 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.006651, allocations: 160.3 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.006697, allocations: 26.52 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.006711, allocations: 4.859 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-06/0.006715, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-05/0.006806, allocations: 71.45 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006807, allocations: 0 / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001203/0.006927, allocations: 53.55 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.006964, allocations: 55.41 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.007035, allocations: 110.7 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.007055, allocations: 29.7 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.007098, allocations: 88.09 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.007108, allocations: 7.922 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.007164, allocations: 33.7 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.00725, allocations: 322.8 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.007307, allocations: 45.69 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.007366, allocations: 68.27 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.007437, allocations: 72.19 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00744, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000153/0.007593, allocations: 141 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.00764, allocations: 45.62 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007646, allocations: 4.094 kB / 0.8425 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.007661, allocations: 0 / 0.8425 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.007677, allocations: 4 kB / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.00768, allocations: 0 / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.007814, allocations: 19.94 kB / 0.8425 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.007832, allocations: 11.92 kB / 0.8425 GB, free: 9.871 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.31e-05/0.007905, allocations: 112.7 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.007917, allocations: 4 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.007941, allocations: 15.88 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007943, allocations: 4.234 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007945, allocations: 0 / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007949, allocations: 3.984 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.746e-05/0.008027, allocations: 73.88 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008028, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.008034, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008036, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.00804, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008042, allocations: 0 / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.008045, allocations: 7.938 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.655e-05/0.008121, allocations: 65.11 kB / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.008128, allocations: 4.312 kB / 0.8428 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.008137, allocations: 0 / 0.8428 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.008158, allocations: 8 kB / 0.8428 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.008181, allocations: 11.92 kB / 0.8428 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.008185, allocations: 0 / 0.8428 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.008201, allocations: 16.78 kB / 0.8429 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008201, allocations: 0 / 0.8429 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001982/0.008399, allocations: 16 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000121/0.00852, allocations: 80.41 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.00868, allocations: 133.9 kB / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.008684, allocations: 4 kB / 0.8431 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.855e-05/0.008703, allocations: 12.8 kB / 0.8431 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.008826, allocations: 15.91 kB / 0.8431 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.009074, allocations: 120.6 kB / 0.8432 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.009116, allocations: 59.28 kB / 0.8433 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.009134, allocations: 4 kB / 0.8433 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.009215, allocations: 67.53 kB / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.009216, allocations: 4 kB / 0.8434 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.003664/0.01288, allocations: 1.277 MB / 0.8446 GB, free: 7.668 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.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: 5.307334968354553]