Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.31 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.001546/0.001546, allocations: 177.3 kB / 15.95 MB, free: 216 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.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8495, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0008539/0.8505, allocations: 413.6 kB / 0.9539 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.8513, allocations: 0.8375 MB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.8514, allocations: 0 / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.8514, allocations: 7.875 kB / 0.9547 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.8515, allocations: 14.41 kB / 0.9547 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.8517, allocations: 19.72 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.8517, allocations: 35.02 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8519, allocations: 18.8 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.8519, allocations: 24.45 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.852, allocations: 19.25 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.8521, allocations: 6.312 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.8521, allocations: 1.375 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.8521, allocations: 9.234 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.8521, allocations: 33.48 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.8522, allocations: 46.06 kB / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.8522, allocations: 0 / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8522, allocations: 0 / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8522, allocations: 5.625 kB / 0.9549 GB, free: 6.93 MB / 0.7169 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.0004186/0.8527, allocations: 363 kB / 0.9553 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8527, allocations: 9.531 kB / 0.9553 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.8528, allocations: 11.3 kB / 0.9553 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.853, allocations: 196.4 kB / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.853, allocations: 5.656 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.8531, allocations: 8.062 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.8532, allocations: 55.8 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8532, allocations: 0 / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8532, allocations: 1.375 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8532, allocations: 0 / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.8534, allocations: 39.72 kB / 0.9556 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.8537, allocations: 301.9 kB / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.854, allocations: 86.25 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.8541, allocations: 1.094 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.8541, allocations: 35.61 kB / 0.956 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.8541, allocations: 0 / 0.956 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002504/0.8543, allocations: 79.53 kB / 0.9561 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.8544, allocations: 52.5 kB / 0.9561 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.8545, allocations: 116.5 kB / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.8545, allocations: 34.7 kB / 0.9563 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.8545, allocations: 99.25 kB / 0.9564 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.8546, allocations: 4.906 kB / 0.9564 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.8546, allocations: 1.25 kB / 0.9564 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.8546, allocations: 324.1 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.8547, allocations: 17.28 kB / 0.9567 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.8547, allocations: 29.8 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.8548, allocations: 17.8 kB / 0.9567 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8548, allocations: 5.281 kB / 0.9568 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/0.8549, allocations: 70.53 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.855, allocations: 5.219 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.855, allocations: 7.938 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.855, allocations: 1.438 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.855, allocations: 8.297 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.855, allocations: 1.531 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.8551, allocations: 15.7 kB / 0.9569 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.8551, allocations: 5.156 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.689e-05/0.8552, allocations: 114.4 kB / 0.957 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.8552, allocations: 2.469 kB / 0.957 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.8553, allocations: 9.062 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.8553, allocations: 4.281 kB / 0.957 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8553, allocations: 5.375 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8553, allocations: 0 / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8554, allocations: 188.2 kB / 0.9572 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8554, allocations: 4 kB / 0.9572 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.8555, allocations: 5.375 kB / 0.9572 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8555, allocations: 0 / 0.9572 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.8555, allocations: 5.109 kB / 0.9572 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8555, allocations: 0 / 0.9572 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8555, allocations: 5.141 kB / 0.9572 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.8556, allocations: 158.1 kB / 0.9573 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.8557, allocations: 81.95 kB / 0.9574 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.8557, allocations: 5.438 kB / 0.9574 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.8558, allocations: 10.98 kB / 0.9574 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.8558, allocations: 14.84 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.8558, allocations: 5.406 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.8559, allocations: 92.08 kB / 0.9575 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8559, allocations: 1.094 kB / 0.9575 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002134/0.8561, allocations: 11.44 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 8.651e-05/0.8562, allocations: 98 kB / 0.9576 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.8563, allocations: 35.08 kB / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8564, allocations: 0 / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.8564, allocations: 23.61 kB / 0.9577 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.8566, allocations: 10.75 kB / 0.9577 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.8569, allocations: 175.6 kB / 0.9579 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.857, allocations: 0.6899 MB / 0.9586 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.8571, allocations: 6.562 kB / 0.9586 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.8571, allocations: 10.31 kB / 0.9586 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8571, allocations: 3.938 kB / 0.9586 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.002561/0.8597, allocations: 0.5795 MB / 0.9591 GB, free: 3.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches