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.001174/0.001174, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 228 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.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8228, allocations: 153.6 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001088/0.8239, allocations: 474.2 kB / 1.021 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.8254, allocations: 1.117 MB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.8255, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.8255, allocations: 3.938 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.8256, allocations: 7.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.8261, allocations: 114.8 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.8263, allocations: 55.92 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.8264, allocations: 19.97 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.8265, allocations: 39.91 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.8266, allocations: 35.89 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.8266, allocations: 7.938 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.8267, allocations: 15.98 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.8267, allocations: 19.91 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.8267, allocations: 33.7 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.8269, allocations: 71.83 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8269, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8269, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8269, allocations: 4 kB / 1.023 GB, free: 15.12 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.0006001/0.8275, allocations: 394.8 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8276, allocations: 11.98 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.8276, allocations: 15.84 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8278, allocations: 171 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.8278, allocations: 4 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.8279, allocations: 8 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.8281, allocations: 81.55 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8281, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8281, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8281, allocations: 0 / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.8283, allocations: 55.95 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.8289, allocations: 332.7 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.829, allocations: 62.61 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.8291, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.8293, allocations: 99.39 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/0.8293, allocations: 3.984 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004679/0.8298, allocations: 157.6 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.8299, allocations: 51.41 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.83, allocations: 137.6 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.83, allocations: 29.69 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.8301, allocations: 88.14 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.8301, allocations: 23.73 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.8301, allocations: 8 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8303, allocations: 314.8 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.8304, allocations: 59.91 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.8306, allocations: 92.25 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.8308, allocations: 85.67 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8308, allocations: 7.953 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004481/0.8313, allocations: 215.2 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.8314, allocations: 41.69 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8314, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.8314, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8315, allocations: 15.98 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8315, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.8318, allocations: 51.91 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.8318, allocations: 12.05 kB / 1.025 GB, free: 12.29 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 0.0001225/0.8319, allocations: 123.7 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.8319, allocations: 7.953 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.832, allocations: 12.38 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.832, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.832, allocations: 7.984 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.832, allocations: 0 / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.8325, allocations: 386.3 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8326, allocations: 4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.8326, allocations: 11.98 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8326, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8327, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8327, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8327, allocations: 3.938 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.833, allocations: 211.5 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.8331, allocations: 92.94 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.8331, allocations: 7.938 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.8332, allocations: 8 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.8332, allocations: 7.922 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.8332, allocations: 8 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.8333, allocations: 91.27 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8333, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002592/0.8336, allocations: 24 kB / 1.026 GB, free: 11.19 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.0001798/0.8338, allocations: 103.2 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.8342, allocations: 195.2 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8342, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8343, allocations: 39.98 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8345, allocations: 20.19 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.8349, allocations: 171.2 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.8354, allocations: 0.6887 MB / 1.027 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.8354, allocations: 11.86 kB / 1.027 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.8354, allocations: 11.44 kB / 1.027 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.8354, allocations: 0 / 1.027 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.003891/0.8393, allocations: 1.275 MB / 1.029 GB, free: 8.633 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches