Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002313, allocations: 192.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 70.92 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002003/0.3544, allocations: 0.6251 MB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3559, allocations: 1.114 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.3559, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3561, allocations: 7.938 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.3561, allocations: 7.938 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.3566, allocations: 126.7 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3568, allocations: 195.7 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.357, allocations: 19.98 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.3571, allocations: 79.83 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3572, allocations: 59.86 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.3573, allocations: 12 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.3574, allocations: 31.98 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.3574, allocations: 27.91 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3575, allocations: 59.83 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.3578, allocations: 203.8 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3578, allocations: 3.938 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3578, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3578, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005949/0.3584, allocations: 462.6 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3585, allocations: 8.031 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3585, allocations: 12.84 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3588, allocations: 212.3 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3588, allocations: 12.31 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3589, allocations: 12.38 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.359, allocations: 99.92 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3591, allocations: 192 / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3591, allocations: 11.92 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3591, allocations: 0 / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.3592, allocations: 47.91 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.3597, allocations: 488.7 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.3598, allocations: 57.14 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.3599, allocations: 29.75 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3599, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.36, allocations: 113 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3601, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002817/0.3603, allocations: 141.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3604, allocations: 77.11 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3605, allocations: 137.8 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3606, allocations: 33.7 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3606, allocations: 100 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3607, allocations: 15.75 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3608, allocations: 65.62 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3609, allocations: 318.8 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3611, allocations: 123.9 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.3613, allocations: 161 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3616, allocations: 224.3 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3616, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005388/0.3622, allocations: 380.6 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.3623, allocations: 63.41 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3623, allocations: 0 / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3623, allocations: 8.188 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.3623, allocations: 11.92 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3623, allocations: 4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.3628, allocations: 63.84 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3628, allocations: 8 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001364/0.3629, allocations: 151.5 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.363, allocations: 3.906 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.363, allocations: 7.906 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.363, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.363, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.363, allocations: 7.938 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3632, allocations: 185.6 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3632, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.3632, allocations: 4 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3632, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3632, allocations: 11.98 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3632, allocations: 4 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3632, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3634, allocations: 137.7 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3635, allocations: 81.09 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3635, allocations: 4 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.3635, allocations: 0 / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3636, allocations: 19.92 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3636, allocations: 0 / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.3636, allocations: 103.2 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002576/0.3639, allocations: 43.84 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001831/0.3641, allocations: 107.8 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.3646, allocations: 330.5 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.3646, allocations: 4.375 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.3646, allocations: 32.02 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3649, allocations: 19.97 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.3654, allocations: 207.3 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3658, allocations: 0.704 MB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.3658, allocations: 11.78 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.3659, allocations: 11.42 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3659, allocations: 7.938 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.005135/0.371, allocations: 2.253 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches