Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001215/0.001215, allocations: 105.8 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.001161/0.001161, allocations: 191.6 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 64.69 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7235, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002117/0.7257, allocations: 0.7451 MB / 1.084 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.7271, allocations: 1.144 MB / 1.085 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.7272, allocations: 1.188 kB / 1.085 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.7273, allocations: 8.578 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.7274, allocations: 6.391 kB / 1.085 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.7279, allocations: 131.1 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.7281, allocations: 130.4 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.7282, allocations: 16.72 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.7283, allocations: 44.34 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.7284, allocations: 45.11 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.7284, allocations: 18.81 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.7285, allocations: 24.48 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.7285, allocations: 8.484 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.7286, allocations: 47.81 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.7288, allocations: 110.3 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7288, allocations: 1.219 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7288, allocations: 0 / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7288, allocations: 0 / 1.085 GB, free: 72 kB / 0.8262 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.0006641/0.7295, allocations: 415.5 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7295, allocations: 9.531 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.7296, allocations: 10.89 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.7297, allocations: 169 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.7298, allocations: 4.031 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.7298, allocations: 7.625 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.73, allocations: 71.25 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.73, allocations: 192 / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.73, allocations: 5.25 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7301, allocations: 1.719 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.7302, allocations: 44.98 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.7308, allocations: 334.3 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.731, allocations: 66.62 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7311, allocations: 39.84 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.7311, allocations: 1.375 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.7314, allocations: 82.83 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.7314, allocations: 0.5625 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.7319, allocations: 144 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.7319, allocations: 58.47 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.732, allocations: 124.5 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.7321, allocations: 29.17 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.7322, allocations: 93.72 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7322, allocations: 24.03 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.7323, allocations: 41.86 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7324, allocations: 319.8 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.7326, allocations: 50.02 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.7328, allocations: 83.48 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.7331, allocations: 145.3 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7331, allocations: 1.281 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004692/0.7336, allocations: 209.8 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.7336, allocations: 34.25 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7337, allocations: 1.188 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7337, allocations: 2.656 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.7338, allocations: 19.12 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7338, allocations: 1.406 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.734, allocations: 35.41 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.734, allocations: 13.05 kB / 1.088 GB, free: 13.91 MB / 0.8419 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.0001178/0.7342, allocations: 124.8 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.7342, allocations: 8.062 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.7342, allocations: 7.688 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7342, allocations: 0 / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7342, allocations: 1 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7342, allocations: 0.7969 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.7348, allocations: 382 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7348, allocations: 0.7031 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.7348, allocations: 8.094 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7348, allocations: 1.672 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7349, allocations: 1.953 kB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7349, allocations: 3.938 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7349, allocations: 1.125 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.7352, allocations: 225.5 kB / 1.089 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.7353, allocations: 90.7 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7353, allocations: 1.797 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.7354, allocations: 6.5 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.7354, allocations: 10.98 kB / 1.089 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.7354, allocations: 9.984 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.7355, allocations: 96.08 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7355, allocations: 0 / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002686/0.7358, allocations: 20.14 kB / 1.089 GB, free: 13.06 MB / 0.8419 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.0001492/0.7359, allocations: 106.4 kB / 1.089 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.7364, allocations: 176.4 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.7364, allocations: 4.25 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.7365, allocations: 43.52 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.7368, allocations: 8.188 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.7372, allocations: 188.6 kB / 1.089 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.7375, allocations: 0.6918 MB / 1.09 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.7376, allocations: 15.42 kB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.7376, allocations: 0.8438 kB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.003314/0.7409, allocations: 1.257 MB / 1.091 GB, free: 11.87 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches