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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001179/0.00118, allocations: 103.5 kB / 15.99 MB, free: 6.348 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.001168/0.001168, allocations: 194.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.2 MB / 0.665 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 65.19 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002188/0.2642, allocations: 0.7733 MB / 0.9505 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2654, allocations: 0.8429 MB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.2655, allocations: 0 / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.2655, allocations: 0 / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2657, allocations: 23.86 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2659, allocations: 11.98 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.266, allocations: 63.78 kB / 0.9514 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2662, allocations: 15.98 kB / 0.9514 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2663, allocations: 23.94 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.2664, allocations: 35.83 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2664, allocations: 8 kB / 0.9515 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.2664, allocations: 4 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2665, allocations: 8 kB / 0.9515 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.2665, allocations: 31.8 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.2667, allocations: 52.17 kB / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2667, allocations: 0 / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2667, allocations: 0 / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2667, allocations: 0 / 0.9516 GB, free: 7.297 MB / 0.7325 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.0005407/0.2672, allocations: 371.2 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2673, allocations: 12.03 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.2673, allocations: 8.938 kB / 0.952 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.2676, allocations: 196.1 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2677, allocations: 4.375 kB / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2677, allocations: 4.375 kB / 0.9522 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2678, allocations: 54.23 kB / 0.9522 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2679, allocations: 192 / 0.9522 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2679, allocations: 7.938 kB / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2679, allocations: 0 / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.268, allocations: 39.91 kB / 0.9523 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.2685, allocations: 296.7 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.2688, allocations: 74.47 kB / 0.9526 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.2689, allocations: 16.92 kB / 0.9526 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2689, allocations: 96 / 0.9526 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.269, allocations: 34.55 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.269, allocations: 0 / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002745/0.2692, allocations: 77.52 kB / 0.9527 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2693, allocations: 55.41 kB / 0.9528 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2694, allocations: 117.8 kB / 0.9529 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2694, allocations: 29.7 kB / 0.9529 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.2695, allocations: 100.1 kB / 0.953 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2696, allocations: 3.906 kB / 0.953 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.2696, allocations: 21.7 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2697, allocations: 318.8 kB / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.2698, allocations: 15.98 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.2699, allocations: 33.7 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.301e-05/0.27, allocations: 24.84 kB / 0.9534 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.27, allocations: 0 / 0.9534 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.2701, allocations: 69.88 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2702, allocations: 4 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2702, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2702, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.2703, allocations: 23.94 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2703, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.2703, allocations: 15.91 kB / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2704, allocations: 0 / 0.9535 GB, free: 5.074 MB / 0.7325 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.2705, allocations: 119.8 kB / 0.9537 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.2705, allocations: 7.906 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.2705, allocations: 3.906 kB / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2705, allocations: 0 / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2705, allocations: 4 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2705, allocations: 4 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2707, allocations: 177.6 kB / 0.9538 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2707, allocations: 0 / 0.9538 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.2708, allocations: 4 kB / 0.9538 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2708, allocations: 0 / 0.9538 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2708, allocations: 7.984 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2708, allocations: 0 / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2708, allocations: 4 kB / 0.9539 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.271, allocations: 163.4 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.2711, allocations: 81.02 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2711, allocations: 0 / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.2712, allocations: 11.98 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.2712, allocations: 4 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2712, allocations: 3.984 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.2713, allocations: 91.28 kB / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2713, allocations: 0 / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000228/0.2715, allocations: 16 kB / 0.9542 GB, free: 4.289 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.2717, allocations: 103.2 kB / 0.9543 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.2718, allocations: 35.92 kB / 0.9543 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2718, allocations: 0 / 0.9543 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.2719, allocations: 15.98 kB / 0.9544 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.2722, allocations: 7.938 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.2726, allocations: 196.6 kB / 0.9546 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2729, allocations: 0.6922 MB / 0.9552 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2729, allocations: 15.38 kB / 0.9552 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2729, allocations: 0 / 0.9552 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.002385/0.2753, allocations: 0.8448 MB / 0.9561 GB, free: 2.32 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches