Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_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.001525/0.001525, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.001501/0.001501, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.632/2.632, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 72.28 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002077/0.3463, allocations: 0.7548 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3478, allocations: 1.145 MB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.3479, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.3479, allocations: 3.938 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.348, allocations: 7.875 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.3486, allocations: 144.6 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3487, allocations: 119.8 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3488, allocations: 27.88 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.505e-05/0.3489, allocations: 43.91 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.349, allocations: 43.83 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.3491, allocations: 8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.3491, allocations: 27.92 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.3492, allocations: 11.98 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.3493, allocations: 47.83 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3495, allocations: 103.7 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3495, allocations: 0 / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3495, allocations: 0 / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.3495, allocations: 8 kB / 1.02 GB, free: 8.125 MB / 0.795 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.0006357/0.3501, allocations: 409.3 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3502, allocations: 8.031 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.3502, allocations: 12.83 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3504, allocations: 172.3 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3504, allocations: 4.375 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.3504, allocations: 8.375 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.3507, allocations: 70.16 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3507, allocations: 192 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3507, allocations: 3.938 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3507, allocations: 4 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.3509, allocations: 39.95 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.3514, allocations: 336.7 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.3516, allocations: 58.5 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3518, allocations: 36.95 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3518, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.352, allocations: 99.27 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.352, allocations: 0 / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.3525, allocations: 137.9 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3526, allocations: 63.28 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3527, allocations: 121.7 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3527, allocations: 37.7 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.3528, allocations: 88.14 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3528, allocations: 15.8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.3529, allocations: 37.7 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.353, allocations: 322.8 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3532, allocations: 47.97 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3534, allocations: 88.25 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.3537, allocations: 145.9 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3537, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004704/0.3542, allocations: 211.1 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.3542, allocations: 37.69 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3543, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3543, allocations: 4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.3544, allocations: 11.98 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3544, allocations: 4.062 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.3546, allocations: 47.8 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.3547, allocations: 8 kB / 1.023 GB, free: 5.203 MB / 0.795 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 0.0001045/0.3548, allocations: 121.8 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.3548, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.3548, allocations: 12.36 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3549, allocations: 3.984 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3549, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3549, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.3554, allocations: 378.3 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3554, allocations: 7.984 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3554, allocations: 4 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3555, allocations: 3.938 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3555, allocations: 4 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.3555, allocations: 7.984 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3555, allocations: 0 / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.3558, allocations: 211.4 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3559, allocations: 81.02 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3559, allocations: 4 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.356, allocations: 11.98 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.356, allocations: 4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3561, allocations: 8 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.3561, allocations: 91.27 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3561, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002639/0.3564, allocations: 23.94 kB / 1.024 GB, free: 4.133 MB / 0.795 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.0001799/0.3566, allocations: 112.1 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.357, allocations: 183.3 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.357, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3572, allocations: 43.91 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3574, allocations: 8 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.3578, allocations: 192.7 kB / 1.024 GB, free: 3.551 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3581, allocations: 0.6893 MB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.3582, allocations: 15.44 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.3582, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of Templates: time 0.003162/0.3614, allocations: 1.263 MB / 1.026 GB, free: 1.574 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches