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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002032/0.002032, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.478/2.478, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.8089, allocations: 140.4 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001851/0.8108, allocations: 0.7631 MB / 0.9497 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.8117, allocations: 0.8422 MB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.8118, allocations: 1.188 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.8118, allocations: 7.922 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.8119, allocations: 5.188 kB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.8121, allocations: 23.3 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.864e-05/0.8122, allocations: 57.72 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.8124, allocations: 16.61 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.8125, allocations: 29.3 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.8126, allocations: 22.95 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.8126, allocations: 2.156 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.8126, allocations: 2.5 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.8126, allocations: 17.38 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.8127, allocations: 17.62 kB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.8128, allocations: 62.34 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8128, allocations: 1.406 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.8128, allocations: 0 / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.8128, allocations: 0 / 0.9507 GB, free: 7.809 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.000435/0.8133, allocations: 369.9 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8133, allocations: 9.25 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.8134, allocations: 11.22 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.8136, allocations: 190.9 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.8137, allocations: 7.031 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.8137, allocations: 2.812 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.8138, allocations: 60.7 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.8138, allocations: 192 / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8138, allocations: 3.938 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8139, allocations: 1.281 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.814, allocations: 32.02 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.8144, allocations: 302.7 kB / 0.9517 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.8146, allocations: 78.11 kB / 0.9517 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.8147, allocations: 15.73 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.8147, allocations: 1.375 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.8147, allocations: 30.56 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8147, allocations: 0 / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002352/0.815, allocations: 74.44 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.815, allocations: 52.78 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.8151, allocations: 125.5 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.8151, allocations: 30.83 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.8152, allocations: 99.12 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.8152, allocations: 5.031 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.8152, allocations: 17.25 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.8153, allocations: 324.9 kB / 0.9525 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.8153, allocations: 15.62 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.8154, allocations: 36.31 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.8155, allocations: 30.59 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8155, allocations: 0 / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.8156, allocations: 70.89 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8157, allocations: 5.031 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8157, allocations: 5.344 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.8157, allocations: 0 / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.8157, allocations: 7.891 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8157, allocations: 5.594 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.8158, allocations: 5.719 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.8158, allocations: 0 / 0.9527 GB, free: 5.855 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 (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 6.793e-05/0.8159, allocations: 121.8 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.8159, allocations: 3.156 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.816, allocations: 9.188 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.816, allocations: 0 / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.816, allocations: 1.25 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.816, allocations: 7.938 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.8161, allocations: 183.4 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8161, allocations: 1.469 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.8162, allocations: 3.75 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8162, allocations: 0 / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.8162, allocations: 1.5 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8162, allocations: 3.938 kB / 0.953 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8162, allocations: 0 / 0.953 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.8164, allocations: 160.2 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.8164, allocations: 86.34 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.8164, allocations: 4 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.8165, allocations: 4.75 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.8165, allocations: 7.234 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.8165, allocations: 1.125 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.8166, allocations: 92.77 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8166, allocations: 0 / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002198/0.8168, allocations: 15.44 kB / 0.9533 GB, free: 5.137 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 (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 8.196e-05/0.8169, allocations: 103.3 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.8171, allocations: 36.05 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8171, allocations: 0 / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.8171, allocations: 17.67 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.8174, allocations: 6.531 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.8178, allocations: 177.7 kB / 0.9537 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.8179, allocations: 0.6862 MB / 0.9543 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.818, allocations: 16.25 kB / 0.9544 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.818, allocations: 9.719 kB / 0.9544 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.818, allocations: 0 / 0.9544 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.003429/0.8214, allocations: 0.6037 MB / 0.955 GB, free: 3.824 MB / 0.7169 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/jenkins/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