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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001024/0.001025, allocations: 91.77 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.001264/0.001264, 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.000388, allocations: 12 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7677, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001078/0.7688, allocations: 470.2 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.7703, allocations: 1.124 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.7704, allocations: 4 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.7704, allocations: 3.938 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.7705, allocations: 7.938 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.771, allocations: 107.8 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.7711, allocations: 103.7 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.7712, allocations: 11.97 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.7713, allocations: 43.91 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.7714, allocations: 35.89 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.7715, allocations: 4 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.7715, allocations: 23.97 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.7716, allocations: 7.938 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.7716, allocations: 33.7 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.7717, allocations: 79.81 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.7718, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7718, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7718, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 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.0005567/0.7723, allocations: 402.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7724, allocations: 12.5 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.7724, allocations: 11.91 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7726, allocations: 174.9 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.7726, allocations: 3.938 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.7726, allocations: 8 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.7728, allocations: 73.62 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.7729, allocations: 3.984 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7729, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7729, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.773, allocations: 47.97 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.7736, allocations: 344.6 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.7738, allocations: 62.61 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.7739, allocations: 48.94 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.7739, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.7741, allocations: 95.3 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.7742, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.00041/0.7746, allocations: 153.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.7746, allocations: 63.41 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.7747, allocations: 113.8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.7748, allocations: 33.69 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.7748, allocations: 88.14 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.7749, allocations: 23.81 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.7749, allocations: 7.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.775, allocations: 318.8 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.7751, allocations: 59.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.7753, allocations: 93.5 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.7755, allocations: 89.62 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7755, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004113/0.7759, allocations: 219.2 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.776, allocations: 41.69 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.776, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.776, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.7761, allocations: 11.98 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.7761, allocations: 7.938 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.7763, allocations: 47.91 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.7764, allocations: 11.98 kB / 1.027 GB, free: 11.1 MB / 0.7794 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 9.547e-05/0.7765, allocations: 125.7 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.7765, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.7765, allocations: 12.38 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7765, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.7765, allocations: 7.984 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7765, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.777, allocations: 386.3 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.777, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.7771, allocations: 11.98 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.7771, allocations: 4 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7771, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7771, allocations: 400 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7771, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.7774, allocations: 223.4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.7774, allocations: 89.03 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.7775, allocations: 3.938 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.7776, allocations: 12 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.7776, allocations: 11.98 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.7776, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.7777, allocations: 95.27 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7777, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002581/0.778, allocations: 24 kB / 1.028 GB, free: 10 MB / 0.7794 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.0001722/0.7781, allocations: 115.1 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.7785, allocations: 187.3 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7785, allocations: 0 / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.7787, allocations: 39.98 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.7789, allocations: 31.88 kB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.7793, allocations: 175.2 kB / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7795, allocations: 0.6864 MB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.7796, allocations: 15.84 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.7796, allocations: 11.44 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7796, allocations: 4 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.003757/0.7834, allocations: 1.275 MB / 1.03 GB, free: 7.422 MB / 0.7794 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=480 -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/jenkins/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