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.007656/0.007656, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001365/0.001365, allocations: 193 kB / 16.67 MB, free: 5.914 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.04 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.598/2.598, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.91 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8491, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002298/0.8514, allocations: 0.608 MB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.8533, allocations: 1.127 MB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.8533, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.8535, allocations: 3.938 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.8535, allocations: 3.938 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.8542, allocations: 122 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.8544, allocations: 91.8 kB / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.8545, allocations: 11.98 kB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.8546, allocations: 35.91 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.8547, allocations: 27.91 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.8548, allocations: 12 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.8549, allocations: 27.97 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.855, allocations: 11.98 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.8551, allocations: 23.97 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.8553, allocations: 95.33 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8553, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8553, allocations: 3.938 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8553, allocations: 0 / 1.223 GB, free: 15.9 MB / 0.9512 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.0005665/0.8559, allocations: 385.9 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8559, allocations: 12.03 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.856, allocations: 8.938 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.8562, allocations: 176.4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.8562, allocations: 4.375 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.8562, allocations: 8.375 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.8564, allocations: 42.25 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.8564, allocations: 192 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.8564, allocations: 7.938 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8564, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.8564, allocations: 11.94 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.8568, allocations: 316.7 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.8569, allocations: 18.58 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.8569, allocations: 4.859 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.8569, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.8571, allocations: 67.39 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8571, allocations: 4 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001984/0.8573, allocations: 61.64 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8573, allocations: 55.41 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.8574, allocations: 113.8 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.8574, allocations: 29.7 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.8575, allocations: 88.09 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.8575, allocations: 3.984 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.8576, allocations: 33.7 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8577, allocations: 322.8 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.8577, allocations: 31.86 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.8578, allocations: 54.55 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.8579, allocations: 72.28 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8579, allocations: 0 / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002327/0.8582, allocations: 155.2 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.8582, allocations: 37.7 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8582, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8582, allocations: 3.938 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.812e-05/0.8582, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8582, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.8584, allocations: 23.97 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.8585, allocations: 7.984 kB / 1.225 GB, free: 13.52 MB / 0.9512 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.0001045/0.8586, allocations: 122.4 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.8586, allocations: 4 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.8586, allocations: 4.141 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8586, allocations: 3.984 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8586, allocations: 3.984 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8586, allocations: 0 / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.8587, allocations: 165.6 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8587, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.8587, allocations: 4 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.8588, allocations: 0 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8588, allocations: 7.984 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8588, allocations: 0 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8588, allocations: 320 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.8589, allocations: 88.95 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.8589, allocations: 77.11 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.8589, allocations: 4 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.8589, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.859, allocations: 7.984 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.859, allocations: 4 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.859, allocations: 83.28 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.859, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002046/0.8592, allocations: 16 kB / 1.225 GB, free: 12.82 MB / 0.9512 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.0001692/0.8594, allocations: 111.1 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.8596, allocations: 115.2 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8596, allocations: 3.938 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.8596, allocations: 16.19 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.8598, allocations: 14.36 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.8601, allocations: 126 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.8604, allocations: 0.6846 MB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.8604, allocations: 7.984 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.8604, allocations: 11.38 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.8604, allocations: 0 / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of Templates: time 0.003425/0.8639, allocations: 1.051 MB / 1.227 GB, free: 10.64 MB / 0.9512 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=480 -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/jenkins/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