Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001463/0.001463, allocations: 110.6 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 187 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7582, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001945/0.7602, allocations: 0.633 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.7616, allocations: 1.11 MB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.7617, allocations: 7.875 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.7618, allocations: 1.734 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.7619, allocations: 14.42 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.7623, allocations: 124.8 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.7626, allocations: 195 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.7628, allocations: 16.97 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.7629, allocations: 82.12 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.763, allocations: 72.11 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.7631, allocations: 14.75 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.7632, allocations: 28.73 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.7633, allocations: 24.92 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.7634, allocations: 71.02 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.7637, allocations: 201.5 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7637, allocations: 1.578 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7637, allocations: 0 / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7637, allocations: 0 / 1.091 GB, free: 4.012 MB / 0.8575 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.0005473/0.7643, allocations: 459.3 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7643, allocations: 9.656 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.7644, allocations: 13.34 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.7647, allocations: 209.3 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.7647, allocations: 10.36 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.7647, allocations: 11.72 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.7649, allocations: 105 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7649, allocations: 192 / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.7649, allocations: 9.516 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.765, allocations: 5.688 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.765, allocations: 39.73 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.7656, allocations: 496.4 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.7657, allocations: 61.17 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.7657, allocations: 28.44 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.7657, allocations: 1.328 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.7659, allocations: 115 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.7659, allocations: 0 / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002922/0.7662, allocations: 134.3 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.7663, allocations: 84.44 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.7664, allocations: 134.4 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.7664, allocations: 31.28 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.7665, allocations: 97.45 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.7665, allocations: 18.52 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.7666, allocations: 54.39 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.7667, allocations: 322.9 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.7669, allocations: 129.1 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.7671, allocations: 163.7 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.7674, allocations: 219.9 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7674, allocations: 0.5625 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006362/0.7681, allocations: 375.4 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.7681, allocations: 68.33 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.7681, allocations: 1.594 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7682, allocations: 6.672 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.166e-05/0.7682, allocations: 2.875 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7682, allocations: 2.391 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.7686, allocations: 75.55 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.7687, allocations: 16.12 kB / 1.094 GB, free: 1.422 MB / 0.8575 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.000112/0.7688, allocations: 131.4 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.7688, allocations: 7.703 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.7688, allocations: 19.66 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7688, allocations: 0.75 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7689, allocations: 1.688 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7689, allocations: 8.781 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.769, allocations: 189 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.769, allocations: 1.062 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.769, allocations: 1.359 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.769, allocations: 0.9062 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.769, allocations: 3.219 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7691, allocations: 0.9062 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7691, allocations: 0.6875 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.7693, allocations: 136.8 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.7693, allocations: 83.97 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7693, allocations: 2.422 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.7693, allocations: 0.9375 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.7694, allocations: 13.61 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.7694, allocations: 11.22 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.7695, allocations: 105.3 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7695, allocations: 0.8125 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000277/0.7698, allocations: 31.45 kB / 1.095 GB, free: 0.7695 MB / 0.8575 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.0001434/0.7699, allocations: 107.6 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.7704, allocations: 320.4 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7704, allocations: 0.9688 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.7705, allocations: 47.98 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.7708, allocations: 23.77 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.7712, allocations: 248.1 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.7716, allocations: 0.698 MB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.7716, allocations: 11.03 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7716, allocations: 0 / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.004452/0.776, allocations: 1.785 MB / 1.098 GB, free: 15.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches