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.01061/0.01061, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.002355/0.002355, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.571/2.571, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.38, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001868/0.3819, allocations: 0.7032 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.383, allocations: 0.8432 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.3831, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3831, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.424e-05/0.3832, allocations: 7.875 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3834, allocations: 27.95 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3835, allocations: 55.8 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3837, allocations: 23.98 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.3838, allocations: 35.78 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.3839, allocations: 27.86 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3839, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.3839, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.384, allocations: 11.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.384, allocations: 19.88 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3841, allocations: 79.69 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3842, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3842, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3842, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 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.0005274/0.3847, allocations: 359.3 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3848, allocations: 12.03 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.3848, allocations: 8.844 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.3851, allocations: 196.1 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.3851, allocations: 4.375 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3851, allocations: 8.375 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3853, allocations: 58.23 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3853, allocations: 192 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3853, allocations: 3.938 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3853, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3854, allocations: 31.97 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3859, allocations: 304.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.3862, allocations: 70.53 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3863, allocations: 12.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3863, allocations: 7.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3863, allocations: 38.64 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3863, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002624/0.3866, allocations: 77.52 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3866, allocations: 51.41 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.3867, allocations: 121.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3868, allocations: 25.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3868, allocations: 96.12 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3869, allocations: 11.84 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3869, allocations: 21.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.387, allocations: 318.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.3871, allocations: 19.98 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.3872, allocations: 25.72 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.3873, allocations: 32.77 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3873, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.3874, allocations: 61.59 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3875, allocations: 8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3875, allocations: 4.031 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3875, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.3875, allocations: 11.92 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3876, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.3876, allocations: 15.98 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3876, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 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 9.964e-05/0.3877, allocations: 118.3 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3878, allocations: 3.906 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.3878, allocations: 11.91 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3878, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3878, allocations: 3.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3878, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.388, allocations: 181.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.388, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.3881, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3881, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3881, allocations: 3.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3881, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3881, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3883, allocations: 163.4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3884, allocations: 81.11 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3884, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.3885, allocations: 7.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3885, allocations: 8.375 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.3885, allocations: 3.984 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.3886, allocations: 95.28 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 3.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002182/0.3888, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 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.0001301/0.389, allocations: 103.2 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3892, allocations: 35.97 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3892, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.3892, allocations: 19.98 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3895, allocations: 11.94 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3899, allocations: 167.4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3903, allocations: 0.6807 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.3903, allocations: 15.92 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3903, allocations: 11.44 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3904, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.003611/0.394, allocations: 0.7099 MB / 1.094 GB, free: 10.84 MB / 0.8575 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