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.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.001349/0.001349, allocations: 110 kB / 18.93 MB, free: 2.945 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.001561/0.001561, allocations: 187.6 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 496 MB / 0.7835 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 66.83 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.423, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002027/0.425, allocations: 0.6443 MB / 1.308 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4267, allocations: 1.124 MB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.4267, allocations: 0 / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.4269, allocations: 4.047 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.4269, allocations: 11.92 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.4274, allocations: 115.7 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4276, allocations: 87.83 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.4277, allocations: 8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.4278, allocations: 43.78 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4279, allocations: 27.91 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.4279, allocations: 8 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.428, allocations: 23.98 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.4281, allocations: 11.98 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.4281, allocations: 35.91 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.4283, allocations: 83.78 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4283, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4283, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4283, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 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.0005488/0.4289, allocations: 315.8 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4289, allocations: 8.922 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.429, allocations: 8.922 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.4292, allocations: 126.5 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4292, allocations: 384 / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.4292, allocations: 8.375 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4293, allocations: 46.25 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4293, allocations: 192 / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4294, allocations: 7.938 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4294, allocations: 0 / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.4294, allocations: 15.98 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.4298, allocations: 275.8 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/0.4299, allocations: 18.58 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.4299, allocations: 8.922 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.4299, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.43, allocations: 63.33 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.43, allocations: 4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0001954/0.4302, allocations: 61.64 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.4303, allocations: 51.41 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4304, allocations: 113.8 kB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4304, allocations: 29.7 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4305, allocations: 96.08 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.4306, allocations: 7.984 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.4306, allocations: 29.7 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4308, allocations: 318.8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.4309, allocations: 31.92 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.431, allocations: 50.55 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4311, allocations: 80.27 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4311, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002704/0.4313, allocations: 147.2 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.4314, allocations: 37.7 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4314, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4314, allocations: 4 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.4314, allocations: 11.86 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4314, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4317, allocations: 32 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4317, allocations: 8 kB / 1.311 GB, free: 13.34 MB / 1.014 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.0001298/0.4318, allocations: 117.8 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.4318, allocations: 7.938 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.4319, allocations: 8 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4319, allocations: 240 / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4319, allocations: 0 / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4319, allocations: 3.984 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.432, allocations: 140.7 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.432, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.432, allocations: 3.984 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.432, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.432, allocations: 4 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.432, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.432, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4322, allocations: 81 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.4322, allocations: 4 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4322, allocations: 4 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.547e-05/0.4322, allocations: 7.922 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.4322, allocations: 0 / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4322, allocations: 4.312 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.4323, allocations: 87.28 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4323, allocations: 0 / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002397/0.4325, allocations: 23.94 kB / 1.312 GB, free: 12.77 MB / 1.014 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.0001595/0.4327, allocations: 96.05 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.4329, allocations: 119.2 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4329, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.433, allocations: 11.98 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4332, allocations: 4 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.4335, allocations: 129.6 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4338, allocations: 0.6846 MB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.4339, allocations: 4.188 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.4339, allocations: 15.44 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.4339, allocations: 3.938 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of Templates: time 0.004024/0.4379, allocations: 1.052 MB / 1.314 GB, free: 10.6 MB / 1.014 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 -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/jenkins/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.435713653452694]