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.001631/0.001631, allocations: 112.6 kB / 16.37 MB, free: 6 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.001707/0.001707, allocations: 196 kB / 17.31 MB, free: 5.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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 60.72 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3413, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001913/0.3432, allocations: 0.7127 MB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00095/0.3442, allocations: 0.8467 MB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.3443, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3443, allocations: 7.922 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.3444, allocations: 7.938 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.3446, allocations: 19.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3447, allocations: 59.83 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3448, allocations: 27.92 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.3449, allocations: 19.94 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.345, allocations: 27.89 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.345, allocations: 8 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.3451, allocations: 7.938 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3451, allocations: 15.94 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3451, allocations: 23.86 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3453, allocations: 63.77 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3453, allocations: 12 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3453, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3453, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 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.0005166/0.3458, allocations: 368.4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3459, allocations: 8.031 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3459, allocations: 8.844 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3462, allocations: 188.3 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3462, allocations: 4.375 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3462, allocations: 4.375 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3464, allocations: 62.17 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3464, allocations: 192 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3464, allocations: 7.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3464, allocations: 3.984 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.3465, allocations: 23.98 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.347, allocations: 300.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.3472, allocations: 70.47 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.3473, allocations: 21 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3473, allocations: 4.062 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3474, allocations: 38.56 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3474, allocations: 3.938 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002834/0.3477, allocations: 73.52 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3477, allocations: 63.33 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.3478, allocations: 117.8 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3478, allocations: 25.7 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.3479, allocations: 88.14 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3479, allocations: 11.89 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3479, allocations: 17.72 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.348, allocations: 326.8 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.3481, allocations: 12 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.3482, allocations: 29.7 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.3483, allocations: 32.84 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3483, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.3484, allocations: 73.55 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3484, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3484, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3485, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.3485, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3485, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.3486, allocations: 11.92 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3486, allocations: 4 kB / 1.03 GB, free: 14 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 8.234e-05/0.3487, allocations: 121.7 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.3487, allocations: 11.89 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.3488, allocations: 7.906 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3488, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3488, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3488, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.349, allocations: 173.6 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.349, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.349, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.349, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3491, allocations: 8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3491, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3491, allocations: 336 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3492, allocations: 167.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3493, allocations: 77.11 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3493, allocations: 7.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3494, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3494, allocations: 7.984 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3495, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.3495, allocations: 99.64 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3495, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002227/0.3498, allocations: 11.94 kB / 1.031 GB, free: 13.2 MB / 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 9.802e-05/0.3499, allocations: 95.25 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.35, allocations: 39.91 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.35, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.3501, allocations: 12 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3504, allocations: 15.92 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.3507, allocations: 163.6 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.351, allocations: 0.6846 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.351, allocations: 8 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.3511, allocations: 11.42 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3511, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.002842/0.3539, allocations: 0.7084 MB / 1.033 GB, free: 11.41 MB / 0.8106 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 -s cvode -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/jenkins1/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