Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_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_10_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.001048/0.001048, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001474/0.001474, allocations: 172.7 kB / 15.95 MB, free: 192 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.414 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.941/2.941, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003889, allocations: 12 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8641/0.8646, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001465/0.8661, allocations: 428.7 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.8675, allocations: 0.8352 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.8676, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.8677, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.8678, allocations: 11.88 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.868, allocations: 11.98 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.8681, allocations: 51.84 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.8683, allocations: 23.91 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.8684, allocations: 19.92 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.8686, allocations: 15.92 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.8686, allocations: 7.938 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.8687, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.8687, allocations: 15.91 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.8687, allocations: 33.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.8689, allocations: 39.91 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8689, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8689, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8689, allocations: 0 / 1.024 GB, free: 14.58 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.0005402/0.8694, allocations: 369.1 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8695, allocations: 8.031 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.8695, allocations: 7.906 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.8698, allocations: 194.9 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.8699, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8699, allocations: 7.953 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.8701, allocations: 61.66 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.8701, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.8701, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.8701, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.8702, allocations: 31.98 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.8708, allocations: 308.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.8711, allocations: 82.53 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.8711, allocations: 25 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.8712, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8712, allocations: 34.5 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8712, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002873/0.8715, allocations: 81.58 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.8715, allocations: 51.41 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8717, allocations: 125.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.8717, allocations: 33.64 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.8718, allocations: 96.02 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.8718, allocations: 3.906 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.8718, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.872, allocations: 318.8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.872, allocations: 23.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.8721, allocations: 33.66 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.8722, allocations: 12.27 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8722, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001788/0.8724, allocations: 81.59 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8724, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.8724, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8724, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.8725, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.8725, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.8726, allocations: 11.98 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.8726, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 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 0.0001359/0.8728, allocations: 125.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.8728, allocations: 7.906 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.8728, allocations: 11.83 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.8728, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.8729, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8729, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.8731, allocations: 177.6 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8731, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.8732, allocations: 7.984 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8732, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.8732, allocations: 4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8732, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8732, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.8734, allocations: 155.5 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.8735, allocations: 84.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.8735, allocations: 4 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.8736, allocations: 11.98 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.8737, allocations: 11.98 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.8737, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.8738, allocations: 99.14 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8738, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002356/0.8741, allocations: 8 kB / 1.026 GB, free: 11.57 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: 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 0.0001696/0.8742, allocations: 107.2 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.8744, allocations: 39.97 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8744, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.8745, allocations: 23.92 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.8749, allocations: 6.531 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.8753, allocations: 176.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.8757, allocations: 0.6906 MB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.399e-05/0.8758, allocations: 8 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.8758, allocations: 7.438 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.8758, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.003514/0.8793, allocations: 0.5827 MB / 1.028 GB, free: 9.875 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches