Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001571/0.001571, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.947/2.947, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.738, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002204/0.7403, allocations: 0.6907 MB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.742, allocations: 1.128 MB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.7421, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.7422, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.7423, allocations: 7.938 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.7427, allocations: 106.7 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.7428, allocations: 91.8 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.7429, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.743, allocations: 23.98 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.7431, allocations: 27.91 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.7431, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.7432, allocations: 23.97 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.7433, allocations: 7.984 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.7434, allocations: 27.86 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.7436, allocations: 87.78 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.7436, allocations: 4 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7436, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7436, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 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.0009257/0.7445, allocations: 383.1 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.7446, allocations: 8.031 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.7447, allocations: 12.83 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.7449, allocations: 180.4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7449, allocations: 4.375 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.745, allocations: 8.375 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.7451, allocations: 46.25 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7452, allocations: 192 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.7452, allocations: 3.938 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7452, allocations: 4 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.7452, allocations: 15.92 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.7457, allocations: 300.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.7458, allocations: 26.58 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.7458, allocations: 4.859 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.7458, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.7461, allocations: 67.39 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.7461, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002127/0.7463, allocations: 57.69 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.7464, allocations: 55.41 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7465, allocations: 113.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.7465, allocations: 33.64 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.7466, allocations: 92.11 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.7466, allocations: 3.906 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.7467, allocations: 33.7 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7468, allocations: 318.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.7469, allocations: 35.86 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.747, allocations: 54.55 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.7472, allocations: 76.27 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7472, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002722/0.7475, allocations: 143.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.7475, allocations: 33.7 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7475, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.7475, allocations: 8.031 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-05/0.7476, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7476, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.7479, allocations: 35.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.7479, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 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 0.0001233/0.748, allocations: 117.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.748, allocations: 7.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.7481, allocations: 3.906 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7481, allocations: 4.234 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7481, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7481, allocations: 3.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7483, allocations: 161.6 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7483, allocations: 3.984 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-06/0.7483, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7483, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.7483, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7483, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.7483, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.7485, allocations: 85 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.7485, allocations: 85.33 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7485, allocations: 3.984 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.7486, allocations: 4 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.7486, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.7486, allocations: 4 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.7487, allocations: 91.2 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7487, allocations: 0 / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002151/0.7489, allocations: 20 kB / 1.021 GB, free: 13.43 MB / 0.7794 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.0001697/0.7491, allocations: 103.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.7493, allocations: 127.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7494, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.7494, allocations: 11.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.7496, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.75, allocations: 128 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.7505, allocations: 0.6887 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.7505, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.7506, allocations: 7.438 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7506, allocations: 3.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.004196/0.7548, allocations: 1.002 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches