Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007854/0.007854, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001394/0.001394, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.624/1.624, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.05 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.981/0.9822, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002083/0.9844, allocations: 0.6198 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.9859, allocations: 1.119 MB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.986, allocations: 5.094 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.699e-05/0.9861, allocations: 0.5156 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.936e-05/0.9861, allocations: 9.609 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.9867, allocations: 124.5 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.9869, allocations: 91.09 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.987, allocations: 8.578 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.9871, allocations: 33.88 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.9872, allocations: 33.09 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.9872, allocations: 10.81 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.9873, allocations: 23.17 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.9874, allocations: 17.33 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.9875, allocations: 28.44 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.9877, allocations: 88.86 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9877, allocations: 4.75 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9877, allocations: 3.938 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.9877, allocations: 0 / 1.09 GB, free: 4.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004384/0.9882, allocations: 379.5 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9882, allocations: 9.469 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.9883, allocations: 6.109 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.9885, allocations: 178.6 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.9885, allocations: 3.406 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9885, allocations: 10.77 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.9886, allocations: 51.14 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.9886, allocations: 192 / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.9887, allocations: 5.859 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9887, allocations: 3.938 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.9887, allocations: 12.12 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.9891, allocations: 304.8 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.9892, allocations: 22.05 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.9892, allocations: 11.77 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.9892, allocations: 1.094 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.9893, allocations: 60.11 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9894, allocations: 1.156 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001847/0.9895, allocations: 67.42 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.9896, allocations: 52.47 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.9897, allocations: 111.2 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.9897, allocations: 30.77 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.9897, allocations: 89.72 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.9897, allocations: 13.16 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.9898, allocations: 29.52 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.9899, allocations: 317.6 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.99, allocations: 28.19 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.9901, allocations: 47.78 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.9902, allocations: 85.2 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9902, allocations: 0 / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002472/0.9904, allocations: 143.3 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.9905, allocations: 39.11 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9905, allocations: 4.547 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.9905, allocations: 1.438 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-05/0.9905, allocations: 1.547 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.9905, allocations: 5.562 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.9907, allocations: 27.45 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.9908, allocations: 6.516 kB / 1.092 GB, free: 2.125 MB / 0.8575 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 6.976e-05/0.9909, allocations: 121.1 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.9909, allocations: 1.844 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.9909, allocations: 9.641 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.9909, allocations: 5.328 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9909, allocations: 4 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9909, allocations: 1.547 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.991, allocations: 166.5 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.991, allocations: 0.7812 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.991, allocations: 5.406 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.991, allocations: 0.7812 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.9911, allocations: 1.422 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9911, allocations: 0.75 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9911, allocations: 4.766 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.9912, allocations: 82.86 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.9912, allocations: 83.62 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.9912, allocations: 1.547 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.9912, allocations: 5.516 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.9913, allocations: 2.109 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.9913, allocations: 2.125 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.9913, allocations: 89.94 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9913, allocations: 0 / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.9916, allocations: 15.45 kB / 1.093 GB, free: 1.512 MB / 0.8575 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.0001448/0.9917, allocations: 111.1 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.9919, allocations: 123.5 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9919, allocations: 0 / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.992, allocations: 12.67 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.9922, allocations: 12.69 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.9925, allocations: 128.7 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.9926, allocations: 0.6802 MB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.9927, allocations: 3.375 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.9927, allocations: 8.781 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9927, allocations: 0.7188 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.003937/0.9966, allocations: 1.085 MB / 1.095 GB, free: 368 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches