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.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_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.001423/0.001423, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001984/0.001984, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.496/2.496, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0007139/0.8195, allocations: 410.2 kB / 0.9539 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.8202, allocations: 0.8368 MB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.8203, allocations: 0.9688 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.8203, allocations: 3.938 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.8204, allocations: 11.39 kB / 0.9547 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.8205, allocations: 11.05 kB / 0.9547 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.8206, allocations: 38.45 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.8207, allocations: 14.89 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.8208, allocations: 25.05 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.8208, allocations: 22.19 kB / 0.9548 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.8208, allocations: 1.219 kB / 0.9548 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.8209, allocations: 2.531 kB / 0.9548 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.8209, allocations: 13.45 kB / 0.9549 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.8209, allocations: 28.36 kB / 0.9549 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.121e-05/0.821, allocations: 50.09 kB / 0.9549 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.821, allocations: 1.281 kB / 0.9549 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.821, allocations: 3.938 kB / 0.9549 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.821, allocations: 0 / 0.9549 GB, free: 6.902 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.0003524/0.8214, allocations: 363.4 kB / 0.9553 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.8214, allocations: 13.3 kB / 0.9553 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.8214, allocations: 11.36 kB / 0.9553 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.8216, allocations: 192.6 kB / 0.9555 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.8217, allocations: 2.156 kB / 0.9555 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.8217, allocations: 7 kB / 0.9555 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.8218, allocations: 56.61 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.8218, allocations: 0 / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8218, allocations: 1.156 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.8219, allocations: 1.062 kB / 0.9556 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.822, allocations: 42.94 kB / 0.9556 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.8223, allocations: 296.9 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.8226, allocations: 83.47 kB / 0.956 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.8226, allocations: 5.406 kB / 0.956 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.8226, allocations: 46.45 kB / 0.956 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.8226, allocations: 0 / 0.956 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002235/0.8229, allocations: 71.55 kB / 0.9561 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.8229, allocations: 56.73 kB / 0.9561 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.823, allocations: 116.8 kB / 0.9562 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.823, allocations: 31.14 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.823, allocations: 107.7 kB / 0.9564 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.823, allocations: 7.969 kB / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.823, allocations: 0.9375 kB / 0.9564 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.8231, allocations: 316.1 kB / 0.9567 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.8231, allocations: 18.33 kB / 0.9567 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.8232, allocations: 34.02 kB / 0.9567 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.8233, allocations: 18.25 kB / 0.9568 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8233, allocations: 0 / 0.9568 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.8234, allocations: 70.39 kB / 0.9568 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.8234, allocations: 5.656 kB / 0.9568 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8234, allocations: 3.953 kB / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.8234, allocations: 0 / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.8235, allocations: 10.05 kB / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.8235, allocations: 4 kB / 0.9568 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.8236, allocations: 9.062 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.8236, allocations: 1.062 kB / 0.9569 GB, free: 5.012 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 ($PRE.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.8236, allocations: 122.2 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.8237, allocations: 3.703 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.8237, allocations: 9.094 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.8237, allocations: 7.938 kB / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8237, allocations: 4.938 kB / 0.957 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.8237, allocations: 0 / 0.957 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.8238, allocations: 176.5 kB / 0.9572 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8239, allocations: 0 / 0.9572 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.8239, allocations: 9.062 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8239, allocations: 1.281 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.8239, allocations: 0 / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8239, allocations: 1.156 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8239, allocations: 3.953 kB / 0.9572 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.8241, allocations: 158.5 kB / 0.9573 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.8241, allocations: 86.5 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.8241, allocations: 1.5 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.8242, allocations: 5.344 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.8243, allocations: 15.31 kB / 0.9574 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.8243, allocations: 13.36 kB / 0.9574 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.8243, allocations: 97.34 kB / 0.9575 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8243, allocations: 3.938 kB / 0.9575 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002225/0.8245, allocations: 7.031 kB / 0.9576 GB, free: 4.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.627e-05/0.8246, allocations: 103.5 kB / 0.9576 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.8248, allocations: 35.33 kB / 0.9577 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8248, allocations: 4 kB / 0.9577 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.8248, allocations: 19.02 kB / 0.9577 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.825, allocations: 10.53 kB / 0.9577 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.8253, allocations: 176.3 kB / 0.9579 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.231e-05/0.8254, allocations: 0.6894 MB / 0.9586 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.8255, allocations: 2.812 kB / 0.9586 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.8255, allocations: 10.62 kB / 0.9586 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8255, allocations: 0 / 0.9586 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.002592/0.8281, allocations: 0.5736 MB / 0.9591 GB, free: 2.984 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","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches