Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004888/0.004888, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.269/2.269, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 71.88 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.6176, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001727/0.6194, allocations: 0.7534 MB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.6208, allocations: 1.263 MB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.6209, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.6209, allocations: 7.922 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.621, allocations: 23.8 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.6216, allocations: 241.6 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.6219, allocations: 271.5 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.622, allocations: 20.22 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.6221, allocations: 99.8 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.6223, allocations: 95.73 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.6223, allocations: 20 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.6224, allocations: 39.98 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.6225, allocations: 35.89 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.6226, allocations: 87.75 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.6228, allocations: 226.9 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6228, allocations: 0 / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6229, allocations: 8 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6229, allocations: 0 / 1.169 GB, free: 0.5547 MB / 0.8887 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.0006646/0.6235, allocations: 0.4906 MB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6236, allocations: 8.969 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.6236, allocations: 42.69 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.6237, allocations: 16.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.6242, allocations: 257.5 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6243, allocations: 16.36 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.6243, allocations: 20.38 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.6245, allocations: 135.6 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6246, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6246, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6246, allocations: 7.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.6247, allocations: 63.89 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.6255, allocations: 0.5124 MB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.6257, allocations: 161.2 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.6258, allocations: 61.69 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.6258, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.6262, allocations: 218.3 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.6262, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.0005184/0.6267, allocations: 310.8 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.6268, allocations: 89.05 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.6269, allocations: 127.8 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.6269, allocations: 41.64 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.627, allocations: 100.6 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.6271, allocations: 55.62 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6272, allocations: 73.67 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6273, allocations: 326.8 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.6275, allocations: 84.23 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.6277, allocations: 144.7 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.628, allocations: 252.2 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.628, allocations: 4 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005457/0.6286, allocations: 372.9 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.6286, allocations: 63.39 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6286, allocations: 4 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6287, allocations: 0 / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.6287, allocations: 23.88 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6288, allocations: 4.219 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.6291, allocations: 71.81 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.6291, allocations: 23.98 kB / 1.173 GB, free: 12.07 MB / 0.9044 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.0001239/0.6293, allocations: 136 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.6293, allocations: 23.89 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.6293, allocations: 12.5 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6294, allocations: 7.938 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6294, allocations: 0 / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6294, allocations: 0 / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.63, allocations: 0.612 MB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.63, allocations: 4 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.63, allocations: 8 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6301, allocations: 3.938 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.6301, allocations: 15.98 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6301, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6301, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.6305, allocations: 424 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.6306, allocations: 89 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.6306, allocations: 15.92 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6307, allocations: 11.98 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.6308, allocations: 23.97 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6308, allocations: 23.92 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.6309, allocations: 96.64 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6309, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003288/0.6312, allocations: 59.95 kB / 1.175 GB, free: 10.42 MB / 0.9044 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.0007384/0.632, allocations: 0.9632 MB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.6324, allocations: 351.2 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6325, allocations: 0 / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.6326, allocations: 113.7 kB / 1.176 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.633, allocations: 32.41 kB / 1.176 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.6356, allocations: 2.282 MB / 1.178 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.636, allocations: 0.7086 MB / 1.179 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.6361, allocations: 21.55 kB / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6362, allocations: 35.42 kB / 1.179 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6362, allocations: 0 / 1.179 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5058/1.142, allocations: 4.108 MB / 1.183 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.9, allocations: 14.2 kB / 1.183 GB, free: 1.695 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches