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.001384/0.001384, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001555/0.001555, allocations: 209.6 kB / 23 MB, free: 4.965 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.623/1.623, 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.372/3.372, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002012/0.002012, allocations: 64.42 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4229, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001929/0.4249, allocations: 0.5509 MB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.024e-05/0.4249, allocations: 4 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.4249, allocations: 3.938 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.425, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.425, allocations: 0 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.451e-05/0.425, allocations: 4 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.4251, allocations: 3.984 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.4252, allocations: 3.984 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.326e-05/0.4252, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.4252, allocations: 0 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4252, allocations: 4 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-06/0.4252, allocations: 4 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.4252, allocations: 0 / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.4252, allocations: 4 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.661e-05/0.4253, allocations: 7.875 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4253, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4253, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4253, allocations: 0 / 1.328 GB, free: 452 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.0003377/0.4257, allocations: 238.4 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4257, allocations: 12.03 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.4257, allocations: 4.938 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4259, allocations: 106.5 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.4259, allocations: 4.375 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.4259, allocations: 4.375 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.426, allocations: 26.27 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.426, allocations: 192 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.426, allocations: 3.938 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.426, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.426, allocations: 4 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.4263, allocations: 339.1 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.4264, allocations: 165.6 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.4265, allocations: 80.14 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.4265, allocations: 83.22 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.4266, allocations: 109.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4266, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.374e-05/0.4267, allocations: 41.58 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.4267, allocations: 51.41 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.4268, allocations: 97.84 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.4268, allocations: 25.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.4268, allocations: 80.14 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.4269, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.4269, allocations: 13.72 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.427, allocations: 315 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.427, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.427, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.4271, allocations: 75.28 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-05/0.4271, allocations: 75.28 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.578e-05/0.4272, allocations: 49.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.4272, allocations: 79.28 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.4272, allocations: 79.27 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-05/0.4273, allocations: 158.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.4273, allocations: 75.28 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.556e-05/0.4274, allocations: 150.6 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.4275, allocations: 87.22 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4275, allocations: 75.28 kB / 1.33 GB, free: 13.61 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.0001475/0.4277, allocations: 264.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.4277, allocations: 112.8 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.4278, allocations: 104 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.839e-05/0.4279, allocations: 180.3 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/0.4279, allocations: 104.9 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.428, allocations: 101 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.4281, allocations: 192.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.4282, allocations: 101 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4283, allocations: 184.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001218/0.4284, allocations: 263.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001988/0.4286, allocations: 383.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.025e-05/0.4286, allocations: 105 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.4287, allocations: 79.28 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of Backend: time 1.81e-07/0.4287, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.429, allocations: 72.44 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005928/0.4296, allocations: 0.9107 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of Templates: time 0.002229/0.4318, allocations: 177 kB / 1.333 GB, free: 10.16 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 -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: 9.477300821003155]