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.00138/0.00138, allocations: 103.5 kB / 16.27 MB, free: 6.414 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.001312/0.001312, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.161/2.161, allocations: 390.2 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 69.56 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2433, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002065/0.2454, allocations: 0.6948 MB / 0.951 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2464, allocations: 0.845 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.2465, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.2465, allocations: 7.875 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.501e-05/0.2466, allocations: 7.875 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2468, allocations: 27.91 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.2469, allocations: 63.78 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.247, allocations: 15.98 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2471, allocations: 31.92 kB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.2472, allocations: 23.86 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2473, allocations: 8 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.2473, allocations: 4 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.2473, allocations: 15.91 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2474, allocations: 23.88 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2475, allocations: 64.06 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2475, allocations: 0 / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2475, allocations: 4 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2475, allocations: 0 / 0.9521 GB, free: 7.047 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.0004798/0.248, allocations: 375.1 kB / 0.9524 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.248, allocations: 8.031 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.2481, allocations: 4.938 kB / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.2483, allocations: 200.2 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2484, allocations: 12.38 kB / 0.9526 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2484, allocations: 384 / 0.9526 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2485, allocations: 62.22 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2486, allocations: 4.188 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2486, allocations: 3.938 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2486, allocations: 3.938 kB / 0.9527 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2487, allocations: 27.98 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.2491, allocations: 300.7 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2494, allocations: 74.45 kB / 0.9531 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.2495, allocations: 16.92 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2495, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2495, allocations: 34.56 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2495, allocations: 7.938 kB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000261/0.2498, allocations: 73.66 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2499, allocations: 51.41 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.25, allocations: 121.8 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.25, allocations: 33.64 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2501, allocations: 92.12 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2501, allocations: 3.984 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.2501, allocations: 17.72 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2503, allocations: 330.8 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.2503, allocations: 12 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.2504, allocations: 25.7 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.2505, allocations: 28.84 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2505, allocations: 3.938 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001391/0.2506, allocations: 65.58 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2507, allocations: 12.03 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2507, allocations: 0 / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2507, allocations: 3.938 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.2508, allocations: 11.98 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2508, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2508, allocations: 7.938 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2509, allocations: 4 kB / 0.954 GB, free: 4.82 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.536e-05/0.251, allocations: 121.8 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.251, allocations: 8.234 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.251, allocations: 7.906 kB / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.251, allocations: 0 / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.251, allocations: 3.984 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.251, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2512, allocations: 185.6 kB / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2512, allocations: 0 / 0.9543 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.2513, allocations: 4 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2513, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2513, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2513, allocations: 3.938 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2513, allocations: 4 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.2515, allocations: 159.4 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2516, allocations: 85 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2516, allocations: 8 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.2517, allocations: 4 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2517, allocations: 11.98 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2518, allocations: 4 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.2518, allocations: 91.27 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2518, allocations: 0 / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002261/0.252, allocations: 12 kB / 0.9547 GB, free: 4.023 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.0001002/0.2522, allocations: 95.78 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.2523, allocations: 39.91 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2523, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.2524, allocations: 23.98 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2527, allocations: 3.938 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.2531, allocations: 181.5 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2533, allocations: 0.6883 MB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.2534, allocations: 19.42 kB / 0.9557 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.2534, allocations: 0 / 0.9557 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of Templates: time 0.002297/0.2557, allocations: 0.8281 MB / 0.9565 GB, free: 2.086 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