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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8552, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001816/0.857, allocations: 0.6277 MB / 1.275 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.8585, allocations: 1.12 MB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.8585, allocations: 0 / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.8586, allocations: 3.938 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.8587, allocations: 7.938 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.8591, allocations: 131.6 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.8593, allocations: 87.83 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.8594, allocations: 7.641 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.8594, allocations: 39.91 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.8596, allocations: 35.89 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.8596, allocations: 8 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.8596, allocations: 19.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.8597, allocations: 4 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.8598, allocations: 43.89 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.8599, allocations: 83.78 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8599, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8599, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8599, allocations: 0 / 1.276 GB, free: 2.227 MB / 0.9669 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.0005094/0.8604, allocations: 395.9 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.8605, allocations: 8.031 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.8605, allocations: 8.875 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.8607, allocations: 176.4 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.8608, allocations: 4.375 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.8608, allocations: 12.38 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.8609, allocations: 46.25 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.8609, allocations: 192 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8609, allocations: 7.922 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.8609, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.861, allocations: 12 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.8614, allocations: 304.7 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.8614, allocations: 28.12 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.8614, allocations: 12.91 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.8614, allocations: 0 / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.8616, allocations: 55.34 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.8616, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.8618, allocations: 69.62 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.8618, allocations: 51.41 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.8619, allocations: 109.8 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.862, allocations: 25.7 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.862, allocations: 92.09 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.8621, allocations: 4 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.8621, allocations: 29.7 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8623, allocations: 322.8 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.8623, allocations: 27.98 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/0.8624, allocations: 54.69 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.8625, allocations: 80.3 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8625, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002791/0.8628, allocations: 151.2 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.8629, allocations: 37.69 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.8629, allocations: 3.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8629, allocations: 4.094 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.8629, allocations: 7.938 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.8629, allocations: 320 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.8631, allocations: 27.97 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.8632, allocations: 8 kB / 1.278 GB, free: 15.83 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.0001117/0.8633, allocations: 125.8 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.8633, allocations: 4 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.8633, allocations: 3.906 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8633, allocations: 8 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8633, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8633, allocations: 0 / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.8635, allocations: 165.6 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8635, allocations: 3.938 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.8635, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8635, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.8635, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8635, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8635, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.8636, allocations: 96.94 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.8636, allocations: 77.11 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.8637, allocations: 0 / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.8637, allocations: 8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.8637, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.8637, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.8638, allocations: 83.27 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8638, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002213/0.864, allocations: 20 kB / 1.279 GB, free: 15.14 MB / 0.9825 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.0001558/0.8641, allocations: 103.7 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.8644, allocations: 119.2 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8644, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.8644, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.8646, allocations: 8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.8649, allocations: 142.1 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.8652, allocations: 0.6807 MB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.8653, allocations: 7.938 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.8653, allocations: 7.438 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.8653, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of Templates: time 0.003902/0.8692, allocations: 1.066 MB / 1.281 GB, free: 12.95 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (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 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.742666183039546]