Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 213 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.61 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4231, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.003146/0.4262, allocations: 0.6248 MB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.429, allocations: 1.14 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.429, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.4291, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.4292, allocations: 11.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.43, allocations: 123.3 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.4302, allocations: 87.89 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4304, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.4305, allocations: 47.83 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.4306, allocations: 27.91 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.4307, allocations: 8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.4308, allocations: 19.98 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.4308, allocations: 11.97 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4309, allocations: 35.92 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4312, allocations: 83.78 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4312, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4312, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4312, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 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.0006576/0.4319, allocations: 303.9 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4319, allocations: 8.031 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.432, allocations: 8.891 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4323, allocations: 122.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4323, allocations: 8.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.4323, allocations: 8.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4325, allocations: 50.19 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4325, allocations: 4.188 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4325, allocations: 11.81 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4325, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.4326, allocations: 11.98 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.4331, allocations: 232.6 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.4332, allocations: 30.44 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.4332, allocations: 4.859 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.4333, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.4335, allocations: 59.45 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4335, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002978/0.4338, allocations: 65.62 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.4338, allocations: 51.41 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.434, allocations: 109.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.434, allocations: 29.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.4341, allocations: 88.08 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.4341, allocations: 11.95 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4342, allocations: 33.69 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.4345, allocations: 310.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4346, allocations: 57.69 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.4348, allocations: 84.25 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.435, allocations: 88.14 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.435, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004755/0.4355, allocations: 173 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.4355, allocations: 37.69 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4355, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4356, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.196e-05/0.4356, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4356, allocations: 8.094 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.4359, allocations: 31.86 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.436, allocations: 4.234 kB / 1.331 GB, free: 12.51 MB / 1.029 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.0001394/0.4361, allocations: 122.3 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.4361, allocations: 7.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.4362, allocations: 7.984 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4362, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4362, allocations: 320 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4362, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4364, allocations: 117.2 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.4364, allocations: 7.938 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.4364, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4364, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.4364, allocations: 7.984 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4364, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4364, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.4366, allocations: 85 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4366, allocations: 3.953 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.4366, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.4367, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4367, allocations: 11.98 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4367, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.4368, allocations: 83.22 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4368, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003941/0.4372, allocations: 20 kB / 1.332 GB, free: 11.97 MB / 1.029 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.0002179/0.4374, allocations: 103.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.4378, allocations: 129.1 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4378, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.4378, allocations: 20.11 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4382, allocations: 15.88 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.4386, allocations: 138.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.4387, allocations: 63.34 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.4387, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.4388, allocations: 11.44 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4388, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Templates: time 0.006242/0.445, allocations: 1.198 MB / 1.333 GB, free: 10.26 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.43788072100142]