Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001313/0.001313, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001577/0.001577, allocations: 217.2 kB / 22.24 MB, free: 5.258 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 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.253/3.253, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.002022/0.002022, allocations: 68.42 kB / 1.154 GB, free: 25.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002056/0.3573, allocations: 0.7131 MB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3591, allocations: 1.28 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.3591, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.3592, allocations: 11.86 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.3592, allocations: 11.86 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.3599, allocations: 250 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3603, allocations: 259.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3604, allocations: 16.2 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3605, allocations: 99.81 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3607, allocations: 103.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.3607, allocations: 24 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.3608, allocations: 35.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.3608, allocations: 31.92 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.361, allocations: 83.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.3613, allocations: 219.6 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3613, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3613, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3613, allocations: 0 / 1.329 GB, free: 14.3 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007893/0.3621, allocations: 433.2 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3621, allocations: 8.031 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.3621, allocations: 42.73 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.3622, allocations: 20.89 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.3628, allocations: 194.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3629, allocations: 8.375 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.3629, allocations: 24.36 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3632, allocations: 127.6 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3632, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3632, allocations: 7.984 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3632, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3633, allocations: 59.95 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3642, allocations: 455.9 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.3645, allocations: 141.1 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.3645, allocations: 49.69 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3646, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.365, allocations: 209.6 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.365, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005977/0.3656, allocations: 320.6 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.3656, allocations: 89.03 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3658, allocations: 130 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.3658, allocations: 37.7 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.3659, allocations: 100.6 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.366, allocations: 59.77 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3661, allocations: 69.69 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3663, allocations: 322.8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3665, allocations: 151.6 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3668, allocations: 211.6 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.3672, allocations: 258.9 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3672, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006582/0.3679, allocations: 427.3 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.3679, allocations: 63.39 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3679, allocations: 4 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3679, allocations: 4 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.368, allocations: 27.86 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.368, allocations: 4.594 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.3684, allocations: 67.83 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3684, allocations: 15.98 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001443/0.3686, allocations: 140.3 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3686, allocations: 23.83 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.3687, allocations: 16.44 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3687, allocations: 7.938 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3687, allocations: 0 / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3687, allocations: 3.984 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.3694, allocations: 0.571 MB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3694, allocations: 0 / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.3694, allocations: 11.98 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3695, allocations: 3.938 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3695, allocations: 11.98 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3695, allocations: 0 / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3695, allocations: 7.938 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.37, allocations: 428.1 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.37, allocations: 11.95 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.37, allocations: 11.94 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3702, allocations: 11.98 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.3703, allocations: 19.95 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.3703, allocations: 15.98 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.3704, allocations: 103.3 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 3.938 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003658/0.3707, allocations: 59.92 kB / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009061/0.3716, allocations: 0.987 MB / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000557/0.3722, allocations: 373.9 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3722, allocations: 0 / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3723, allocations: 84.52 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3728, allocations: 32.62 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.3759, allocations: 2.54 MB / 1.338 GB, free: 4.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.376, allocations: 88.77 kB / 1.338 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.094e-05/0.376, allocations: 29.45 kB / 1.338 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.3761, allocations: 35.42 kB / 1.338 GB, free: 3.91 MB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/0.3761, allocations: 3.938 kB / 1.338 GB, free: 3.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.4104, allocations: 4.936 MB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.56, allocations: 14.69 kB / 1.343 GB, free: 15.13 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 18.361140940978657]