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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00107/0.00107, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001261/0.00126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006315/0.0006316, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8501, allocations: 142.4 MB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.000983/0.8511, allocations: 465.4 kB / 0.9549 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.8525, allocations: 1.124 MB / 0.956 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.8526, allocations: 5 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.8526, allocations: 0 / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.8527, allocations: 4.906 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.8532, allocations: 125.7 kB / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.8533, allocations: 97.81 kB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.8534, allocations: 9.484 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.8535, allocations: 47.52 kB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.8536, allocations: 38.14 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.8536, allocations: 4.719 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.8537, allocations: 19.95 kB / 0.9563 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.8537, allocations: 7.188 kB / 0.9563 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.8538, allocations: 37.36 kB / 0.9564 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.8539, allocations: 72.78 kB / 0.9564 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.8539, allocations: 1.25 kB / 0.9564 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8539, allocations: 0 / 0.9564 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8539, allocations: 0 / 0.9564 GB, free: 6.09 MB / 0.7169 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.0005041/0.8545, allocations: 402.8 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8545, allocations: 9.156 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.8546, allocations: 13.98 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.404e-05/0.8547, allocations: 173.7 kB / 0.957 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.8547, allocations: 6.828 kB / 0.957 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.8547, allocations: 6.375 kB / 0.957 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.8549, allocations: 68.42 kB / 0.9571 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8549, allocations: 0 / 0.9571 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8549, allocations: 5.047 kB / 0.9571 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.855, allocations: 0.9062 kB / 0.9571 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.8551, allocations: 56.94 kB / 0.9571 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.8556, allocations: 331.6 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.8558, allocations: 63.86 kB / 0.9575 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.8559, allocations: 42.39 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.8559, allocations: 0 / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.8561, allocations: 108.5 kB / 0.9577 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.8561, allocations: 0 / 0.9577 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.8566, allocations: 154.3 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.8566, allocations: 61.12 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.8567, allocations: 122.6 kB / 0.958 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.8567, allocations: 29.11 kB / 0.958 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.8568, allocations: 92.69 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.8568, allocations: 18.81 kB / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.8568, allocations: 1.656 kB / 0.9581 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.8569, allocations: 320.3 kB / 0.9584 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.857, allocations: 60.59 kB / 0.9585 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.8572, allocations: 96.19 kB / 0.9586 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.8574, allocations: 90.8 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8574, allocations: 1.844 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004164/0.8578, allocations: 216.8 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.8578, allocations: 43.19 kB / 0.9589 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8579, allocations: 1.375 kB / 0.9589 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8579, allocations: 5.328 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.858, allocations: 11 kB / 0.9589 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.858, allocations: 5.359 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.8582, allocations: 48.91 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.8582, allocations: 13.55 kB / 0.959 GB, free: 3.785 MB / 0.7169 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.8583, allocations: 122.7 kB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.8583, allocations: 8.125 kB / 0.9591 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.8584, allocations: 13.75 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8584, allocations: 5.328 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8584, allocations: 0 / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8584, allocations: 3.984 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.8588, allocations: 385 kB / 0.9595 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8588, allocations: 0 / 0.9595 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.8588, allocations: 12.42 kB / 0.9595 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.8588, allocations: 5.109 kB / 0.9595 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.8589, allocations: 4 kB / 0.9595 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8589, allocations: 1.156 kB / 0.9595 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8589, allocations: 0 / 0.9595 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.8592, allocations: 214.7 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.8592, allocations: 90.2 kB / 0.9598 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.8593, allocations: 9.781 kB / 0.9598 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.8594, allocations: 14.38 kB / 0.9599 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.8594, allocations: 6.641 kB / 0.9599 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.8594, allocations: 6.625 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.8595, allocations: 92.33 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8595, allocations: 3.938 kB / 0.96 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002765/0.8598, allocations: 24.31 kB / 0.96 GB, free: 2.879 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/0.86, allocations: 110.6 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.8604, allocations: 188.9 kB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8604, allocations: 0 / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8605, allocations: 41.08 kB / 0.9603 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8608, allocations: 20.31 kB / 0.9603 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.8612, allocations: 173.1 kB / 0.9605 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.8614, allocations: 0.6908 MB / 0.9612 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.8614, allocations: 11.8 kB / 0.9612 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.8615, allocations: 14.62 kB / 0.9612 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8615, allocations: 0 / 0.9612 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.004749/0.8662, allocations: 1.269 MB / 0.9624 GB, free: 1.117 MB / 0.7169 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/jenkins/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