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.001655/0.001655, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001901/0.001901, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.08 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.293/2.293, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8371, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002386/0.8396, allocations: 0.7516 MB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.8414, allocations: 1.146 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.8415, allocations: 1.094 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.8415, allocations: 8.578 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.8417, allocations: 11.89 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.8423, allocations: 132.2 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.8425, allocations: 121.4 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.8426, allocations: 21.45 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.8428, allocations: 51.95 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8429, allocations: 54.5 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.8429, allocations: 10.72 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.843, allocations: 23.75 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.8431, allocations: 17.55 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.8431, allocations: 39 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.8434, allocations: 108.1 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8434, allocations: 0 / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.449e-06/0.8434, allocations: 0 / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.8434, allocations: 3.938 kB / 1.091 GB, free: 3.938 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.0006217/0.844, allocations: 416 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8441, allocations: 9.594 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.8442, allocations: 10.48 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.8443, allocations: 172.8 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.8443, allocations: 8.266 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.8443, allocations: 10.81 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.8445, allocations: 59.53 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8446, allocations: 192 / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.8446, allocations: 8.906 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.8446, allocations: 5.156 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.8448, allocations: 37.8 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.8453, allocations: 330.6 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.8455, allocations: 62 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8456, allocations: 35.28 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.8457, allocations: 1.031 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.8459, allocations: 92.33 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.8459, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005088/0.8464, allocations: 148.3 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.8465, allocations: 53.67 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8466, allocations: 118 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.8467, allocations: 28.45 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.8467, allocations: 89.58 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.8468, allocations: 24.09 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.8468, allocations: 38.66 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.8469, allocations: 322.9 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.8471, allocations: 50.61 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.8473, allocations: 87.27 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.8476, allocations: 153.2 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8476, allocations: 0.75 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005033/0.8481, allocations: 205.3 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.8482, allocations: 42.91 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8482, allocations: 1.906 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8482, allocations: 1.438 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.8483, allocations: 15.42 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.8483, allocations: 2 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8485, allocations: 34.14 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.8486, allocations: 12.44 kB / 1.094 GB, free: 1.789 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 8.596e-05/0.8487, allocations: 126 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.8487, allocations: 3.797 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.8487, allocations: 10.61 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8487, allocations: 1.562 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8487, allocations: 4 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8488, allocations: 1.203 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.8492, allocations: 382.5 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8492, allocations: 0 / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.8493, allocations: 8.688 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.8493, allocations: 0.8438 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8493, allocations: 1.547 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8493, allocations: 0.625 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8493, allocations: 4.656 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.8497, allocations: 217.5 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.8497, allocations: 83.61 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.8497, allocations: 1.703 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.8498, allocations: 6.469 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.8499, allocations: 9.938 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8499, allocations: 11.12 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.8499, allocations: 95.23 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8499, allocations: 0 / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002726/0.8502, allocations: 28.52 kB / 1.095 GB, free: 0.9453 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.0001664/0.8504, allocations: 103.1 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.8508, allocations: 179.9 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8508, allocations: 3.938 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.851, allocations: 39.28 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.8513, allocations: 16.86 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.8518, allocations: 192.4 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.852, allocations: 0.6884 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.8521, allocations: 12.39 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8521, allocations: 3.938 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004299/0.8564, allocations: 1.265 MB / 1.097 GB, free: 15.74 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