Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001738/0.001738, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002209/0.002209, allocations: 214.8 kB / 23.04 MB, free: 4.859 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.143/3.143, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [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.002051/0.002051, allocations: 62.22 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002052/0.3471, allocations: 0.7496 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3488, allocations: 1.272 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.3489, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.3489, allocations: 11.81 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.349, allocations: 19.86 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.3498, allocations: 249.1 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.3501, allocations: 251.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3503, allocations: 45.28 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3505, allocations: 99.81 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3507, allocations: 95.59 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.3507, allocations: 24 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.3508, allocations: 39.98 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3509, allocations: 35.89 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.351, allocations: 83.75 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3513, allocations: 247.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3513, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3513, allocations: 7.984 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3513, allocations: 0 / 1.33 GB, free: 13.71 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006752/0.352, allocations: 426.9 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3521, allocations: 12.03 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.3521, allocations: 24.83 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.3527, allocations: 174.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.3527, allocations: 20.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.3527, allocations: 20.38 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.353, allocations: 130.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.353, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.353, allocations: 8 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.353, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3531, allocations: 67.95 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.3537, allocations: 352 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3539, allocations: 78.53 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.3539, allocations: 32.84 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3539, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3542, allocations: 143.2 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3542, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004652/0.3546, allocations: 247.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3547, allocations: 55.39 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3548, allocations: 143.5 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3548, allocations: 29.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.3549, allocations: 116.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.355, allocations: 31.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3551, allocations: 69.67 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3553, allocations: 322.8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3555, allocations: 123.4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3557, allocations: 200.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3559, allocations: 213.1 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.356, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005588/0.3565, allocations: 391.9 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.3566, allocations: 63.34 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3566, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3566, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.832e-05/0.3566, allocations: 7.984 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3566, allocations: 7.938 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.357, allocations: 64.08 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.357, allocations: 19.98 kB / 1.334 GB, free: 9.863 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: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001327/0.3571, allocations: 132.8 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.3571, allocations: 11.89 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.3572, allocations: 16.77 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3572, allocations: 3.938 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3572, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3572, allocations: 4 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.3577, allocations: 422 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3577, allocations: 0 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.3577, allocations: 7.938 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3577, allocations: 0 / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3577, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3577, allocations: 7.984 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3577, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.358, allocations: 297.9 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.3581, allocations: 7.953 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.3581, allocations: 8 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.3582, allocations: 7.984 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3583, allocations: 7.984 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3583, allocations: 15.98 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.3583, allocations: 95.27 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3583, allocations: 0 / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003084/0.3587, allocations: 51.89 kB / 1.335 GB, free: 8.723 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.0001578/0.3588, allocations: 111.1 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.3593, allocations: 333.9 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3593, allocations: 0 / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3594, allocations: 63.95 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3597, allocations: 29.47 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.3602, allocations: 297.8 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3603, allocations: 99.28 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.3604, allocations: 15.44 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3604, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of Templates: time 0.004345/0.3647, allocations: 1.993 MB / 1.338 GB, free: 5.711 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y Variables in the result:falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 11.38890428096056]