Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.2 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.059e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001505/0.001535, allocations: 0.7136 MB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002542, allocations: 0.9028 MB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.002603, allocations: 0 / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.002634, allocations: 4.625 kB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.002724, allocations: 16.75 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.002933, allocations: 23.92 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.003017, allocations: 60.44 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003119, allocations: 11.98 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.00327, allocations: 49.03 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.003349, allocations: 20.09 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.00337, allocations: 7.938 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.003412, allocations: 12.7 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.003425, allocations: 4 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.003454, allocations: 24.92 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003596, allocations: 47.83 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003598, allocations: 0.875 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003599, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.003605, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 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.0003996/0.004004, allocations: 393.7 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.004043, allocations: 8.031 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.004184, allocations: 18.44 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.004382, allocations: 140.4 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.004404, allocations: 4.375 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004417, allocations: 4.375 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.004529, allocations: 64.34 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004537, allocations: 192 / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.004547, allocations: 384 / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.004555, allocations: 384 / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.004591, allocations: 17.17 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.004925, allocations: 291.7 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.005093, allocations: 52.94 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.005115, allocations: 15.69 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.005134, allocations: 4 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.005157, allocations: 38.83 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.005158, allocations: 0 / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001653/0.005324, allocations: 49.72 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.005361, allocations: 55.41 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.005568, allocations: 179.2 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.005589, allocations: 29.7 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.005654, allocations: 142.8 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.005672, allocations: 11.89 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.005715, allocations: 27.84 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.00584, allocations: 0.489 MB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.005863, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.005911, allocations: 47.23 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.005956, allocations: 31.69 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005958, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.72e-05/0.006056, allocations: 57.58 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.006071, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006076, allocations: 0.5312 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.006092, allocations: 0.7188 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.006141, allocations: 4 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.006146, allocations: 1.281 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.006182, allocations: 7.984 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.006192, allocations: 4 kB / 0.8155 GB, free: 13.51 MB / 0.7761 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.035e-05/0.006273, allocations: 157.2 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.006302, allocations: 16.95 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.006329, allocations: 4 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006331, allocations: 0 / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.006335, allocations: 4.781 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006338, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.006477, allocations: 133.3 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.006479, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.006502, allocations: 4.812 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006505, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.006513, allocations: 4.875 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006514, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006515, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.006647, allocations: 197.3 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.006658, allocations: 3.953 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.00668, allocations: 11.94 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.006737, allocations: 0.9062 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.006787, allocations: 11.92 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.006793, allocations: 6.297 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.006854, allocations: 139.1 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006854, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002337/0.007088, allocations: 4 kB / 0.8161 GB, free: 12.77 MB / 0.7761 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.78e-05/0.007186, allocations: 99.23 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.007293, allocations: 31.11 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007295, allocations: 0 / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.007324, allocations: 11.69 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.007586, allocations: 11.94 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.008156, allocations: 162.1 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.0082, allocations: 59.97 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.008236, allocations: 9.328 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.008276, allocations: 13.05 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.008276, allocations: 0.5938 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.003182/0.01146, allocations: 0.7714 MB / 0.8173 GB, free: 11.59 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.520592405926436]