Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001195/0.001195, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.239/2.239, allocations: 390.2 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.7 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002281/0.2448, allocations: 0.7617 MB / 0.9505 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2459, allocations: 0.8391 MB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.2459, allocations: 0 / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.246, allocations: 3.938 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.2461, allocations: 11.92 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.2463, allocations: 19.98 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.2464, allocations: 59.8 kB / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2465, allocations: 15.98 kB / 0.9514 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2466, allocations: 27.91 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.2467, allocations: 23.86 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2467, allocations: 12 kB / 0.9515 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2468, allocations: 4 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2468, allocations: 15.92 kB / 0.9515 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2468, allocations: 27.86 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.2469, allocations: 52.19 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2469, allocations: 0 / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2469, allocations: 3.938 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.247, allocations: 0 / 0.9516 GB, free: 7.301 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.0004703/0.2474, allocations: 371.1 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2475, allocations: 16.03 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2475, allocations: 0.9375 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2478, allocations: 196.1 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2478, allocations: 4.375 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2478, allocations: 4.375 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.248, allocations: 58.23 kB / 0.9522 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.248, allocations: 192 / 0.9522 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.248, allocations: 3.938 kB / 0.9522 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.248, allocations: 7.938 kB / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2481, allocations: 27.98 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.2486, allocations: 304.7 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2489, allocations: 74.53 kB / 0.9526 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.249, allocations: 16.94 kB / 0.9526 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.249, allocations: 4 kB / 0.9526 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2491, allocations: 34.56 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2491, allocations: 0 / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002575/0.2493, allocations: 69.58 kB / 0.9527 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2494, allocations: 59.39 kB / 0.9528 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.2495, allocations: 117.8 kB / 0.9529 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2495, allocations: 29.64 kB / 0.9529 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2497, allocations: 96.12 kB / 0.953 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.2497, allocations: 7.906 kB / 0.953 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.2497, allocations: 17.72 kB / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2498, allocations: 318.8 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.2499, allocations: 16 kB / 0.9534 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.25, allocations: 29.89 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.25, allocations: 32.92 kB / 0.9534 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2501, allocations: 0 / 0.9534 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.2502, allocations: 65.58 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2502, allocations: 10.03 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2502, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2503, allocations: 3.938 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.2503, allocations: 11.97 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2503, allocations: 3.984 kB / 0.9535 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.2504, allocations: 7.938 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2504, allocations: 4 kB / 0.9535 GB, free: 5.086 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 (shaH.hys.y,$PRE.shaH.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 8.406e-05/0.2505, allocations: 119.8 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.2505, allocations: 7.891 kB / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.2506, allocations: 11.91 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2506, allocations: 7.938 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2506, allocations: 0 / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2506, allocations: 0 / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2508, allocations: 181.6 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2508, allocations: 0 / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.2508, allocations: 4 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2508, allocations: 0 / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2508, allocations: 0 / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2508, allocations: 0 / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2508, allocations: 0 / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.251, allocations: 163.4 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.2511, allocations: 89 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2511, allocations: 0 / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.2512, allocations: 4 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.2512, allocations: 11.98 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2512, allocations: 4 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.2513, allocations: 91.27 kB / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2513, allocations: 4 kB / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.2515, allocations: 8 kB / 0.9542 GB, free: 4.297 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 9.441e-05/0.2516, allocations: 99.25 kB / 0.9543 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2518, allocations: 39.91 kB / 0.9543 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2518, allocations: 0 / 0.9543 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.2518, allocations: 15.98 kB / 0.9544 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2521, allocations: 11.94 kB / 0.9544 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.2525, allocations: 193.5 kB / 0.9546 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2528, allocations: 0.6844 MB / 0.9552 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.2529, allocations: 15.38 kB / 0.9552 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2529, allocations: 4 kB / 0.9552 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.002203/0.2551, allocations: 0.8525 MB / 0.9561 GB, free: 2.32 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches