Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001437/0.001437, allocations: 187 kB / 17.34 MB, free: 5.742 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8709, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001838/0.8728, allocations: 0.7522 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8742, allocations: 1.153 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.8742, allocations: 1.094 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.8743, allocations: 8.484 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.8744, allocations: 6.406 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.8749, allocations: 135.6 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.8751, allocations: 118.8 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.8752, allocations: 21.25 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.8753, allocations: 51.69 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.8754, allocations: 42.92 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.8754, allocations: 9 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.8755, allocations: 24.97 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.8755, allocations: 12.39 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.8756, allocations: 51.05 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.8758, allocations: 104 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.8758, allocations: 0 / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8758, allocations: 0 / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8758, allocations: 5.766 kB / 1.091 GB, free: 3.949 MB / 0.8575 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.0005095/0.8764, allocations: 413.5 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8764, allocations: 10.55 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.8765, allocations: 6.312 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.8765, allocations: 177.9 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.8766, allocations: 3.781 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.8766, allocations: 6.828 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.8768, allocations: 66.72 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.8768, allocations: 4.75 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8768, allocations: 5.094 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8768, allocations: 1.688 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.877, allocations: 42 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.8775, allocations: 329.3 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.8777, allocations: 62.52 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.8778, allocations: 36.52 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.8779, allocations: 0 / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.8781, allocations: 87.36 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.8781, allocations: 4.719 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004444/0.8786, allocations: 144.4 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.8786, allocations: 58.52 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.8787, allocations: 116.5 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.8787, allocations: 29.59 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.8788, allocations: 89.58 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.8788, allocations: 19.53 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.8789, allocations: 42.58 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.8789, allocations: 319.8 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.8791, allocations: 49.94 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.8793, allocations: 94.61 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.8796, allocations: 149 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8796, allocations: 0.875 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004531/0.8801, allocations: 217 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.8801, allocations: 39.14 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8801, allocations: 1.969 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8801, allocations: 2.312 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.8802, allocations: 15.31 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8803, allocations: 1.781 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.8805, allocations: 37.86 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.8805, allocations: 8.719 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.692e-05/0.8806, allocations: 126.1 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.8806, allocations: 3.094 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.8806, allocations: 11.16 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8806, allocations: 0.875 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8806, allocations: 1.094 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8807, allocations: 4.734 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.8811, allocations: 377.6 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8811, allocations: 4.75 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.8811, allocations: 8.422 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8811, allocations: 0.7812 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.8812, allocations: 2.094 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.8812, allocations: 4.547 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8812, allocations: 0.6875 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.8815, allocations: 216.9 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.8815, allocations: 83.5 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.8815, allocations: 2.234 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8816, allocations: 7.094 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.8817, allocations: 10.08 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.8817, allocations: 6.031 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.8817, allocations: 104.2 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8817, allocations: 0 / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002729/0.882, allocations: 24.19 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001383/0.8822, allocations: 106.5 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.8826, allocations: 178.5 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8826, allocations: 0.9375 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.8827, allocations: 43.25 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.883, allocations: 9.141 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.8833, allocations: 189 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.8835, allocations: 0.6878 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.8836, allocations: 19.5 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8836, allocations: 0 / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.003463/0.887, allocations: 1.267 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches