Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001109/0.001109, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0117/0.0117, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 462.6 MB / 0.7363 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 12.31 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3347, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001564/0.3364, allocations: 427.1 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3382, allocations: 0.8468 MB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.3383, allocations: 0 / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3383, allocations: 0 / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.3385, allocations: 11.92 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3387, allocations: 23.94 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3388, allocations: 59.78 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3389, allocations: 15.98 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.339, allocations: 19.92 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.3391, allocations: 19.86 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3392, allocations: 8 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3392, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.3392, allocations: 7.984 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.3393, allocations: 53.5 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3394, allocations: 48.11 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3394, allocations: 0 / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3394, allocations: 0 / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3394, allocations: 4 kB / 1.06 GB, free: 3.422 MB / 0.8106 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.0005272/0.34, allocations: 367.3 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.34, allocations: 8.031 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3401, allocations: 12.84 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.3403, allocations: 200.1 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3404, allocations: 384 / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3404, allocations: 8.312 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3406, allocations: 66.22 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.3406, allocations: 192 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3406, allocations: 3.938 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3406, allocations: 0 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3407, allocations: 31.98 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.3412, allocations: 308.7 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.3415, allocations: 82.53 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.3416, allocations: 25 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3416, allocations: 3.938 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3416, allocations: 30.56 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3416, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003132/0.342, allocations: 85.78 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.342, allocations: 51.41 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3422, allocations: 125.8 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3422, allocations: 25.7 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.3423, allocations: 92.05 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3423, allocations: 11.89 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.3424, allocations: 13.72 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3425, allocations: 322.8 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.3426, allocations: 19.98 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.3427, allocations: 29.7 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.858e-05/0.3428, allocations: 32.78 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3428, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3429, allocations: 69.7 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.343, allocations: 8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.343, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.343, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.343, allocations: 8 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3431, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.3431, allocations: 19.83 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3432, allocations: 8 kB / 1.062 GB, free: 1.16 MB / 0.8106 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 0.0001296/0.3433, allocations: 121.7 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3433, allocations: 0 / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.3434, allocations: 15.83 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3434, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3434, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3434, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.3436, allocations: 177.6 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3436, allocations: 0 / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.3437, allocations: 15.98 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3437, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3437, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3437, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3437, allocations: 4 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3439, allocations: 159.4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.344, allocations: 89.02 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.344, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.3441, allocations: 11.98 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3442, allocations: 7.984 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.3442, allocations: 4 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.3442, allocations: 99.14 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3442, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002327/0.3445, allocations: 8 kB / 1.063 GB, free: 372 kB / 0.8106 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 0.0001244/0.3446, allocations: 103.2 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3448, allocations: 39.97 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3448, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.3449, allocations: 16 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3452, allocations: 12.69 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.3456, allocations: 185 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3459, allocations: 0.6865 MB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.377e-05/0.3459, allocations: 19.95 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.346, allocations: 7.438 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.346, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.003293/0.3493, allocations: 0.593 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches