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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00147/0.00147, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001495/0.001495, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.622/2.622, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 68.3 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7016, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001858/0.7035, allocations: 0.6951 MB / 1.084 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000749/0.7043, allocations: 0.8474 MB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.7043, allocations: 0 / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.7044, allocations: 5.828 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.7044, allocations: 9.609 kB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.7046, allocations: 25.17 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.7047, allocations: 64.53 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.7048, allocations: 22.27 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.7049, allocations: 21.19 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.7049, allocations: 28.81 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.705, allocations: 5.375 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.705, allocations: 5.469 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.705, allocations: 15.02 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.705, allocations: 24.38 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.7052, allocations: 67.41 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7052, allocations: 7.938 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7052, allocations: 0.625 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7052, allocations: 0 / 1.085 GB, free: 412 kB / 0.8262 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.0003811/0.7056, allocations: 372.2 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7056, allocations: 9.531 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.7056, allocations: 8.281 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.7059, allocations: 187 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7059, allocations: 2.938 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.706, allocations: 7.438 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.7061, allocations: 55.44 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7061, allocations: 0.8438 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7062, allocations: 11.88 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.7062, allocations: 1.062 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.7063, allocations: 30.08 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.7067, allocations: 297.1 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.707, allocations: 67.73 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.7071, allocations: 19.23 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.7071, allocations: 3.938 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.7071, allocations: 36.59 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.7071, allocations: 0 / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002432/0.7074, allocations: 71.11 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.7074, allocations: 56.02 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7075, allocations: 124.3 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.7076, allocations: 25.7 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.7076, allocations: 94.41 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.7077, allocations: 17.64 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.7077, allocations: 15.44 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7078, allocations: 322.1 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.7079, allocations: 15.12 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.708, allocations: 30.78 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.7081, allocations: 30.7 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7081, allocations: 5.25 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.7082, allocations: 65.23 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7082, allocations: 5.266 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7083, allocations: 1.156 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7083, allocations: 0 / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.7083, allocations: 6.906 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.7083, allocations: 3.938 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.7084, allocations: 8.484 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.7084, allocations: 2.219 kB / 1.087 GB, free: 14.58 MB / 0.8419 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.906e-05/0.7085, allocations: 121.7 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.7085, allocations: 8.031 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.7086, allocations: 13.97 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7086, allocations: 3.938 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7086, allocations: 6.391 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.7086, allocations: 0 / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.7088, allocations: 173.8 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7088, allocations: 0.7031 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.7089, allocations: 5.578 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7089, allocations: 5.094 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7089, allocations: 0.75 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7089, allocations: 1.188 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7089, allocations: 0.7031 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.7091, allocations: 163.2 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.7092, allocations: 82.45 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.7092, allocations: 1.219 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.7093, allocations: 9.891 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.7093, allocations: 7.297 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.7093, allocations: 1.297 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.7094, allocations: 96.73 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7094, allocations: 0.5 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000217/0.7096, allocations: 15.41 kB / 1.087 GB, free: 13.89 MB / 0.8419 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.497e-05/0.7097, allocations: 95.45 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.7099, allocations: 38.58 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7099, allocations: 0 / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.71, allocations: 21.45 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.7102, allocations: 11.09 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.7106, allocations: 181.6 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.7109, allocations: 0.685 MB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.711, allocations: 12.62 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.711, allocations: 0 / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.002312/0.7133, allocations: 0.8482 MB / 1.089 GB, free: 12.84 MB / 0.8419 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=400 -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