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.008363/0.008363, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001824/0.001824, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.475/2.475, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8929, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002166/0.8951, allocations: 0.7573 MB / 1.167 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.897, allocations: 1.267 MB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.8971, allocations: 0 / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.8972, allocations: 3.938 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.8974, allocations: 23.8 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.8983, allocations: 250.2 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.8986, allocations: 263.5 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8988, allocations: 20.22 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.899, allocations: 99.8 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.8992, allocations: 95.73 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.8992, allocations: 28 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.8994, allocations: 35.98 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.8994, allocations: 35.89 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.8995, allocations: 91.73 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.8999, allocations: 221.6 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8999, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.357e-06/0.8999, allocations: 3.984 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.8999, allocations: 0 / 1.169 GB, free: 0.5859 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.0008775/0.9008, allocations: 0.4907 MB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9008, allocations: 12.92 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.199e-05/0.9009, allocations: 42.73 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.901, allocations: 16.84 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.9016, allocations: 248.3 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.9017, allocations: 16.36 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.9017, allocations: 16.38 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.902, allocations: 144 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9021, allocations: 3.984 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.9021, allocations: 11.98 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.9021, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.9023, allocations: 59.95 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.9032, allocations: 0.5123 MB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.9035, allocations: 153.2 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.9036, allocations: 65.69 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.9037, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.9041, allocations: 214.4 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.9041, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22): time 0.0005843/0.9047, allocations: 315.8 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.9048, allocations: 89.05 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.9049, allocations: 126.1 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.905, allocations: 41.69 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.9051, allocations: 96.61 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.9051, allocations: 51.34 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.9053, allocations: 77.67 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9055, allocations: 318.8 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.9057, allocations: 92.23 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.9059, allocations: 156.2 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.9063, allocations: 249 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9063, allocations: 3.938 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006751/0.907, allocations: 360.8 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.9071, allocations: 63.39 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9071, allocations: 4 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.9072, allocations: 4 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.9073, allocations: 23.88 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.9073, allocations: 7.922 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.9077, allocations: 75.94 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.9078, allocations: 15.98 kB / 1.173 GB, free: 12.1 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.0002402/0.908, allocations: 140 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.9081, allocations: 19.8 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.9081, allocations: 12.5 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.9082, allocations: 7.938 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.9082, allocations: 0 / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.9082, allocations: 4 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.9091, allocations: 0.612 MB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.9091, allocations: 0 / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.9091, allocations: 11.94 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.9091, allocations: 3.938 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.9092, allocations: 11.98 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.9092, allocations: 0 / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9092, allocations: 0 / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.9098, allocations: 423.8 kB / 1.174 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.9099, allocations: 85.02 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.9099, allocations: 15.92 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.9101, allocations: 15.92 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.9102, allocations: 23.95 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.9102, allocations: 19.98 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.9103, allocations: 100.7 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9104, allocations: 4.094 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000479/0.9108, allocations: 55.94 kB / 1.175 GB, free: 10.45 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.0009463/0.9118, allocations: 0.9629 MB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005829/0.9124, allocations: 351.3 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.9124, allocations: 0 / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.9126, allocations: 117.3 kB / 1.176 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.9131, allocations: 23.98 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.9166, allocations: 2.283 MB / 1.178 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.917, allocations: 0.7047 MB / 1.179 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.994e-05/0.9171, allocations: 21.55 kB / 1.179 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.9172, allocations: 39.42 kB / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9172, allocations: 0 / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.9397, allocations: 4.109 MB / 1.183 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/8.531, allocations: 13.67 kB / 1.183 GB, free: 1.73 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=50 --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) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.width,booPul1.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time