Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.3 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008516, allocations: 93.89 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003497, allocations: 10.12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.4169, allocations: 131.8 MB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4172, allocations: 79.94 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002733/0.42, allocations: 0.9504 MB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.42, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.42, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005081/0.4205, allocations: 383.1 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4206, allocations: 8.031 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.4206, allocations: 15.78 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4208, allocations: 174.9 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4208, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4208, allocations: 11.98 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.421, allocations: 69.66 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.421, allocations: 4 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.421, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.421, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.4212, allocations: 59.89 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.4218, allocations: 312.7 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.4222, allocations: 114.5 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.4222, allocations: 4 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.4225, allocations: 87.44 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4225, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.4229, allocations: 141.6 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.423, allocations: 55.36 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.4231, allocations: 113.1 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4231, allocations: 25.7 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.4232, allocations: 88.22 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.4232, allocations: 23.78 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.4232, allocations: 4 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.4234, allocations: 318.8 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4235, allocations: 35.97 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.4236, allocations: 63.78 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.4237, allocations: 27.98 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4237, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002899/0.424, allocations: 133.4 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.424, allocations: 8.188 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4241, allocations: 0 / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4241, allocations: 3.938 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.4242, allocations: 15.98 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4242, allocations: 4 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.4243, allocations: 24.09 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4243, allocations: 4 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001066/0.4244, allocations: 117.8 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.4244, allocations: 11.84 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.4245, allocations: 16.31 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.4245, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4245, allocations: 4 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4245, allocations: 3.984 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.425, allocations: 370.8 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4251, allocations: 0 / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.4251, allocations: 15.98 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4251, allocations: 0 / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4251, allocations: 0 / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.4252, allocations: 4.016 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.4252, allocations: 7.938 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.4255, allocations: 211.4 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.4256, allocations: 77.11 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4256, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4257, allocations: 19.98 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4258, allocations: 11.94 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4258, allocations: 4 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.4259, allocations: 95.27 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4259, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002195/0.4261, allocations: 12 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.000178/0.4263, allocations: 103.2 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.4266, allocations: 83.94 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4266, allocations: 0.6719 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4267, allocations: 39.92 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.427, allocations: 10.52 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.4274, allocations: 178.6 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4278, allocations: 0.7004 MB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.4278, allocations: 7.859 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4279, allocations: 11.44 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.4279, allocations: 4 kB / 1.034 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.002846/0.4307, allocations: 0.7319 MB / 1.035 GB, free: 5.352 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches