Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001247/0.001247, allocations: 118.8 kB / 16.81 MB, free: 5.754 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.0013/0.0013, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.516/1.516, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 63.84 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4484, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002062/0.4505, allocations: 0.6208 MB / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4522, allocations: 1.12 MB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.4523, allocations: 0 / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.4524, allocations: 4 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.251e-05/0.4524, allocations: 11.92 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.453, allocations: 123.3 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4532, allocations: 83.89 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.4533, allocations: 4 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.4534, allocations: 47.83 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.4536, allocations: 27.97 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.4536, allocations: 11.94 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.4537, allocations: 19.98 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.4537, allocations: 7.984 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.4538, allocations: 35.91 kB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.454, allocations: 87.72 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.454, allocations: 3.984 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.454, allocations: 0 / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.454, allocations: 0 / 1.264 GB, free: 10.75 MB / 0.9825 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.0006083/0.4546, allocations: 393 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4547, allocations: 8.031 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.4547, allocations: 4.938 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.455, allocations: 180.3 kB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.455, allocations: 8.312 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.455, allocations: 4.375 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4552, allocations: 50.25 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4552, allocations: 192 / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4552, allocations: 7.875 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4552, allocations: 4 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.4552, allocations: 15.98 kB / 1.265 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.4557, allocations: 300.7 kB / 1.265 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.4557, allocations: 22.58 kB / 1.265 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.4557, allocations: 4.859 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.4558, allocations: 4.062 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4559, allocations: 59.39 kB / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4559, allocations: 0 / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002234/0.4561, allocations: 69.58 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4562, allocations: 51.41 kB / 1.265 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4563, allocations: 109.8 kB / 1.265 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4563, allocations: 25.7 kB / 1.265 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.4564, allocations: 97.16 kB / 1.266 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4564, allocations: 11.98 kB / 1.266 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.4565, allocations: 29.7 kB / 1.266 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4566, allocations: 318.8 kB / 1.266 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.4567, allocations: 27.98 kB / 1.266 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.4568, allocations: 50.86 kB / 1.266 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4569, allocations: 84.44 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4569, allocations: 0 / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002697/0.4572, allocations: 155.2 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.4572, allocations: 33.7 kB / 1.266 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4572, allocations: 0 / 1.266 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4573, allocations: 0 / 1.266 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.4573, allocations: 4 kB / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.4573, allocations: 3.984 kB / 1.266 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4575, allocations: 36 kB / 1.266 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.4575, allocations: 4 kB / 1.266 GB, free: 8.344 MB / 0.9825 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.0001187/0.4576, allocations: 129.6 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.4577, allocations: 4 kB / 1.266 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.4577, allocations: 7.891 kB / 1.266 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4577, allocations: 0 / 1.266 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4577, allocations: 0 / 1.266 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.4578, allocations: 85.06 kB / 1.267 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.4578, allocations: 0 / 1.267 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.4578, allocations: 7.938 kB / 1.267 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.4578, allocations: 0 / 1.267 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001235/0.4579, allocations: 133 kB / 1.267 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001791/0.4581, allocations: 222.8 kB / 1.267 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.445e-05/0.4581, allocations: 11.98 kB / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.4582, allocations: 83.28 kB / 1.267 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of Backend: time 2.91e-07/0.4582, allocations: 3.938 kB / 1.267 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.4587, allocations: 183.7 kB / 1.267 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006265/0.4593, allocations: 0.5808 MB / 1.268 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.004123/0.4635, allocations: 1.072 MB / 1.269 GB, free: 5.723 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches