Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001354/0.001354, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001494/0.001494, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.198/3.198, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.002101/0.002101, allocations: 62.81 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4266, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001888/0.4285, allocations: 0.5532 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.847e-05/0.4286, allocations: 4 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.4286, allocations: 0 / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.4286, allocations: 0 / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.4287, allocations: 0 / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.61e-05/0.4287, allocations: 7.984 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.581e-05/0.4287, allocations: 3.938 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.4288, allocations: 4 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.4288, allocations: 4 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.4288, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4289, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.4289, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.4289, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.4289, allocations: 3.938 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.429, allocations: 7.984 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.429, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.429, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.429, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003542/0.4293, allocations: 244.3 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4294, allocations: 12.03 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.4294, allocations: 0.9375 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.4295, allocations: 106.5 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4295, allocations: 384 / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.4296, allocations: 4.375 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4297, allocations: 34.27 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4297, allocations: 192 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.4297, allocations: 11.92 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4297, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.4298, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.4301, allocations: 331.1 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4302, allocations: 173.5 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.4302, allocations: 84.08 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4303, allocations: 79.22 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.4303, allocations: 109.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.4303, allocations: 3.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.902e-05/0.4304, allocations: 33.69 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.4305, allocations: 126.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.4306, allocations: 93.86 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4306, allocations: 29.7 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.4306, allocations: 84.27 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.4306, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.4307, allocations: 13.66 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4308, allocations: 310.8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-06/0.4308, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.4308, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.4309, allocations: 75.28 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.4309, allocations: 75.28 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.785e-05/0.4309, allocations: 37.62 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.431, allocations: 79.28 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.431, allocations: 75.28 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.623e-05/0.4311, allocations: 166.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.062e-05/0.4311, allocations: 75.28 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-05/0.4312, allocations: 158.5 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.4313, allocations: 75.28 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.4313, allocations: 83.27 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001383/0.4315, allocations: 260.3 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.4315, allocations: 112.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.4316, allocations: 104 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-05/0.4317, allocations: 180.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.489e-05/0.4318, allocations: 184.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.4319, allocations: 188.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.4321, allocations: 352.9 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.885e-05/0.4321, allocations: 101 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.4322, allocations: 112.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.742e-05/0.4323, allocations: 184.2 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.4324, allocations: 180.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.438e-05/0.4324, allocations: 176.6 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.184e-05/0.4325, allocations: 184.3 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.4327, allocations: 307.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.4327, allocations: 108.9 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4328, allocations: 192.3 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.4329, allocations: 101 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.433, allocations: 184.2 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.433, allocations: 105 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.4331, allocations: 75.28 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4331, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002564/0.4333, allocations: 3.938 kB / 1.334 GB, free: 10.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001433/0.4335, allocations: 178.5 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.383e-05/0.4335, allocations: 4.031 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4335, allocations: 4 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-06/0.4335, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4339, allocations: 461.7 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.4342, allocations: 160.3 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.4342, allocations: 51.36 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.344e-06/0.4342, allocations: 0 / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.4343, allocations: 7.438 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4343, allocations: 4 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of Templates: time 0.002158/0.4364, allocations: 152.9 kB / 1.335 GB, free: 8.965 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.795676756999455]