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.001598/0.001598, allocations: 110.1 kB / 16.42 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.001537/0.001537, allocations: 186.6 kB / 17.35 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.455/1.455, 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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.99, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001788/0.9918, allocations: 0.6164 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.9934, allocations: 1.121 MB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.9934, allocations: 5.188 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.9936, allocations: 4.453 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.9936, allocations: 9.891 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.9941, allocations: 122.1 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.9942, allocations: 89.95 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.9943, allocations: 8.875 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.9944, allocations: 34.42 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.9945, allocations: 32.48 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.9946, allocations: 8.188 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.9946, allocations: 21.58 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.9947, allocations: 17.72 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.9948, allocations: 31.86 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.995, allocations: 90.45 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.995, allocations: 4 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.995, allocations: 0 / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.995, allocations: 1.125 kB / 1.091 GB, free: 4.113 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.0004206/0.9955, allocations: 378.7 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9955, allocations: 8.938 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.9956, allocations: 5.125 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.9957, allocations: 180.5 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.9957, allocations: 5.781 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.9958, allocations: 7.203 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.9959, allocations: 47.12 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9959, allocations: 192 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9959, allocations: 13.66 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9959, allocations: 0 / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.5e-05/0.996, allocations: 12.77 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.9963, allocations: 303.2 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.9964, allocations: 22.81 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.9964, allocations: 12.67 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.9964, allocations: 0 / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.9965, allocations: 61.08 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9966, allocations: 0 / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.9967, allocations: 64.91 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.9968, allocations: 56.14 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.9968, allocations: 109.2 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.9969, allocations: 33.02 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.9969, allocations: 83.55 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.9969, allocations: 17.83 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.997, allocations: 34.61 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.9971, allocations: 318.1 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.9972, allocations: 31.28 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.9972, allocations: 44.34 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.9974, allocations: 87.48 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9974, allocations: 1.062 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002441/0.9976, allocations: 138.5 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.9977, allocations: 38.45 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9977, allocations: 1.656 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9977, allocations: 1.578 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.9977, allocations: 5.656 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9977, allocations: 1.484 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.9979, allocations: 28.56 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.998, allocations: 5.766 kB / 1.093 GB, free: 2.137 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.858e-05/0.998, allocations: 121.7 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.9981, allocations: 1.391 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.9981, allocations: 5.594 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9981, allocations: 8.594 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9981, allocations: 0 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.9981, allocations: 78.83 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.9981, allocations: 1.453 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/0.9982, allocations: 9.234 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.9982, allocations: 6.797 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.736e-05/0.9983, allocations: 128.6 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001041/0.9984, allocations: 229.2 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.109e-05/0.9984, allocations: 11.5 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.9985, allocations: 90.34 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.9985, allocations: 1.094 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.999, allocations: 189.6 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003876/0.9994, allocations: 0.5806 MB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of Templates: time 0.003691/1.003, allocations: 1.083 MB / 1.095 GB, free: 0.6016 MB / 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/jenkins1/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