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.01025/0.01025, allocations: 101.5 kB / 15.88 MB, free: 6.324 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.002104/0.002104, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.426 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.442/2.442, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6777, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00186/0.6796, allocations: 0.7675 MB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.6804, allocations: 0.8348 MB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.6805, allocations: 1.125 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.6805, allocations: 3.938 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.6806, allocations: 13.03 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.6808, allocations: 19.3 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.6809, allocations: 58.89 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.681, allocations: 19.36 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.6811, allocations: 21.8 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.6812, allocations: 26.81 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.6812, allocations: 2.562 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.6812, allocations: 2.531 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.6813, allocations: 6.5 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.6813, allocations: 25.05 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.766e-05/0.6814, allocations: 57.23 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6814, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6814, allocations: 3.938 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6814, allocations: 0 / 0.9514 GB, free: 7.707 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.0004242/0.6818, allocations: 366.4 kB / 0.9517 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6819, allocations: 8.781 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.6819, allocations: 11.62 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.6822, allocations: 191.5 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6822, allocations: 10.83 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.6822, allocations: 3.25 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.6824, allocations: 51.62 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6824, allocations: 192 / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6824, allocations: 9.266 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6824, allocations: 0 / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.6825, allocations: 28.08 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.6829, allocations: 310.4 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.6832, allocations: 70.2 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.6833, allocations: 25 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.6833, allocations: 4 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.6833, allocations: 31.78 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.013e-06/0.6833, allocations: 0 / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000248/0.6836, allocations: 69.67 kB / 0.9525 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.6836, allocations: 53.62 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.6837, allocations: 124.9 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6837, allocations: 30.72 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.6837, allocations: 98.17 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.6838, allocations: 9.344 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.6838, allocations: 18.45 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.6839, allocations: 320.1 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.6839, allocations: 16.58 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.684, allocations: 27.11 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.139e-05/0.6841, allocations: 42.75 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6841, allocations: 0 / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.6842, allocations: 63.34 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6842, allocations: 5.031 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6843, allocations: 4 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6843, allocations: 5.484 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.6843, allocations: 4.719 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6843, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.6844, allocations: 9.547 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6844, allocations: 5.125 kB / 0.9533 GB, free: 5.754 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 (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 7.303e-05/0.6845, allocations: 117.4 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.6845, allocations: 5.656 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.6846, allocations: 10.62 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.6846, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6846, allocations: 0 / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6846, allocations: 1.281 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.6847, allocations: 180 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6847, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.6848, allocations: 11.48 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6848, allocations: 1.406 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.6848, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6848, allocations: 1.75 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6848, allocations: 3.984 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.685, allocations: 154.5 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.685, allocations: 86.31 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.685, allocations: 9.391 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.6851, allocations: 7.578 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.6852, allocations: 8.078 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.6852, allocations: 9.062 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.6852, allocations: 94.23 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6852, allocations: 0 / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002227/0.6855, allocations: 14.78 kB / 0.954 GB, free: 5.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.725e-05/0.6856, allocations: 99.06 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.6857, allocations: 35.86 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6857, allocations: 0 / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.6858, allocations: 17.23 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6861, allocations: 7.312 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.6865, allocations: 203 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.6866, allocations: 0.6866 MB / 0.955 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.6867, allocations: 9.938 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6867, allocations: 1.125 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002294/0.689, allocations: 0.8323 MB / 0.9559 GB, free: 3.586 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","/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