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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007962/0.0007963, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008263/0.0008263, allocations: 168.7 kB / 15.95 MB, free: 204 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 12.91 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3945, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001088/0.3956, allocations: 463.1 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3971, allocations: 1.143 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3972, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.3972, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.3973, allocations: 7.875 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.3978, allocations: 110.7 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3979, allocations: 107.7 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.398, allocations: 15.88 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.3981, allocations: 39.91 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.3982, allocations: 35.88 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3983, allocations: 8 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.3983, allocations: 16 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3984, allocations: 7.922 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.3984, allocations: 37.7 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3986, allocations: 79.81 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3986, allocations: 4 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3986, allocations: 3.938 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.3986, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 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.0006255/0.3992, allocations: 401.1 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3993, allocations: 8.031 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.3994, allocations: 11.91 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3995, allocations: 163 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3995, allocations: 11.98 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3996, allocations: 11.95 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3998, allocations: 65.67 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3998, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3998, allocations: 3.984 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3998, allocations: 0 / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4, allocations: 51.97 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.4006, allocations: 344.5 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4007, allocations: 66.61 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.4009, allocations: 44.95 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4009, allocations: 0 / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.4011, allocations: 95.3 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.4012, allocations: 0 / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004493/0.4016, allocations: 157.5 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4017, allocations: 59.41 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4018, allocations: 117.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4018, allocations: 29.7 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.4019, allocations: 92.2 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4019, allocations: 15.8 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.402, allocations: 8 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4021, allocations: 322.8 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4023, allocations: 59.91 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.4024, allocations: 92.25 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4026, allocations: 89.61 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4026, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004541/0.4031, allocations: 219.1 kB / 1.062 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.4031, allocations: 41.69 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4032, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4032, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.4033, allocations: 16.12 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4033, allocations: 3.984 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.4035, allocations: 47.88 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4035, allocations: 11.98 kB / 1.063 GB, free: 428 kB / 0.8106 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 0.0001124/0.4036, allocations: 133.7 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4037, allocations: 7.906 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.4037, allocations: 8.375 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4037, allocations: 3.938 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4037, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4038, allocations: 7.984 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.4042, allocations: 382.4 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4043, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.4043, allocations: 11.98 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4043, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4043, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4044, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4044, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4047, allocations: 223.3 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.4047, allocations: 85.09 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4047, allocations: 3.984 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.4048, allocations: 12 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.4049, allocations: 11.92 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4049, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.405, allocations: 91.27 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.405, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002579/0.4052, allocations: 27.91 kB / 1.064 GB, free: 15.32 MB / 0.8262 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.4054, allocations: 111.2 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.4058, allocations: 183.3 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4058, allocations: 256 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4059, allocations: 43.98 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4062, allocations: 19.94 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.4066, allocations: 173.4 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4069, allocations: 0.6848 MB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.4069, allocations: 7.984 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.407, allocations: 15.44 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.407, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.003783/0.4108, allocations: 1.279 MB / 1.066 GB, free: 12.75 MB / 0.8262 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=480 -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/jenkins/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