Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 106.5 kB / 16.41 MB, free: 6.469 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.0019/0.001901, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.526/1.526, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.647/2.647, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.301, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002226/1.303, allocations: 0.7128 MB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00177/1.305, allocations: 1.267 MB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/1.305, allocations: 0 / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.7e-05/1.305, allocations: 11.86 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/1.305, allocations: 19.86 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/1.306, allocations: 314.1 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/1.307, allocations: 267.6 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/1.307, allocations: 20.17 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/1.307, allocations: 103.8 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/1.307, allocations: 91.73 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/1.307, allocations: 24 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/1.307, allocations: 35.98 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/1.307, allocations: 15.92 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/1.308, allocations: 79.81 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/1.308, allocations: 223 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.308, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.754e-06/1.308, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.308, allocations: 0 / 1.17 GB, free: 0.7148 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007194/1.309, allocations: 0.4972 MB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.309, allocations: 8.031 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/1.309, allocations: 20.83 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.309, allocations: 176.2 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.309, allocations: 8.375 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/1.309, allocations: 20.36 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.309, allocations: 58.22 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.309, allocations: 7.875 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.309, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.309, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/1.309, allocations: 23.98 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/1.31, allocations: 412.5 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/1.31, allocations: 30.56 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/1.31, allocations: 16.86 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/1.31, allocations: 4.078 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/1.31, allocations: 107.2 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/1.31, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000309/1.311, allocations: 137.5 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.311, allocations: 55.41 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.311, allocations: 136 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/1.311, allocations: 37.7 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/1.311, allocations: 92.14 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/1.311, allocations: 27.86 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.311, allocations: 73.66 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.311, allocations: 318.8 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/1.311, allocations: 91.94 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.312, allocations: 131.7 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/1.312, allocations: 239 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.312, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006415/1.313, allocations: 379.9 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.313, allocations: 93.09 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.313, allocations: 4 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.313, allocations: 4 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/1.313, allocations: 3.938 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.313, allocations: 4 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/1.313, allocations: 84.42 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/1.313, allocations: 19.97 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001414/1.314, allocations: 137.7 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/1.314, allocations: 11.89 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/1.314, allocations: 16.31 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.314, allocations: 4 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.314, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/1.314, allocations: 85.05 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/1.314, allocations: 4 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/1.314, allocations: 3.938 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/1.314, allocations: 11.98 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002042/1.314, allocations: 188.9 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002296/1.314, allocations: 286.7 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.351e-05/1.314, allocations: 31.98 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.716e-05/1.314, allocations: 95.27 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Backend: time 9.12e-07/1.314, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007844/1.315, allocations: 420.5 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006423/1.316, allocations: 0.6431 MB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.00624/1.322, allocations: 2.668 MB / 1.178 GB, free: 8.414 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches