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.001484/0.001484, 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.00155/0.00155, allocations: 207.6 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.345/3.345, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002109/0.002109, allocations: 70.8 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4174, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002118/0.4195, allocations: 0.6272 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.4214, allocations: 1.136 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.4214, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.4215, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.4216, allocations: 3.938 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.4221, allocations: 131.6 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.4223, allocations: 91.81 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.4224, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.4224, allocations: 43.84 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4225, allocations: 31.89 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.4226, allocations: 8 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.4226, allocations: 23.98 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.4227, allocations: 7.984 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.4228, allocations: 27.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.423, allocations: 95.72 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.423, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/0.423, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.423, allocations: 0 / 1.329 GB, free: 14.82 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.0005107/0.4235, allocations: 303.9 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4236, allocations: 12.03 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.4236, allocations: 8.891 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4238, allocations: 122.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4238, allocations: 384 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.4239, allocations: 12.38 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.424, allocations: 46.19 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.424, allocations: 4.188 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.424, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.424, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.424, allocations: 15.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.4244, allocations: 232.5 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.4245, allocations: 30.45 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.4245, allocations: 8.922 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.4245, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4247, allocations: 55.39 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4247, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000197/0.4249, allocations: 69.62 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.4249, allocations: 51.41 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.425, allocations: 109.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.425, allocations: 33.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.4251, allocations: 88.09 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.4251, allocations: 3.953 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.4252, allocations: 37.69 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4253, allocations: 314.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.4254, allocations: 57.69 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4255, allocations: 80.25 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.4257, allocations: 96.08 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4257, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002804/0.4259, allocations: 169.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/0.426, allocations: 41.69 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.426, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.426, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.352e-05/0.426, allocations: 7.984 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4261, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.4263, allocations: 35.95 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.4263, allocations: 11.97 kB / 1.331 GB, free: 12.55 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.0001605/0.4264, allocations: 122.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4265, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.4265, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4265, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4265, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4265, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4266, allocations: 109.2 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4266, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-06/0.4266, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4266, allocations: 3.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4266, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4266, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4266, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.4267, allocations: 81.06 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.4268, allocations: 3.953 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4268, allocations: 4.312 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.565e-05/0.4268, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.4268, allocations: 3.984 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4268, allocations: 8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.4269, allocations: 87.22 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4269, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002177/0.4271, allocations: 16 kB / 1.332 GB, free: 12.03 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.0001403/0.4272, allocations: 103.2 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4275, allocations: 133.1 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4275, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.4275, allocations: 23.84 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4277, allocations: 12.12 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.428, allocations: 138.1 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.4281, allocations: 63.34 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.4281, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.4282, allocations: 7.438 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4282, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Templates: time 0.004068/0.4322, allocations: 1.197 MB / 1.333 GB, free: 10.32 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 cvode -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.517111603010562]