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: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006308/0.006308, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 11.59 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001105/0.2988, allocations: 439 kB / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3, allocations: 0.8429 MB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.3, allocations: 4 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.3001, allocations: 0 / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.3002, allocations: 15.86 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.3003, allocations: 19.98 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.3004, allocations: 51.8 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3005, allocations: 19.97 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.3006, allocations: 15.94 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.3007, allocations: 27.86 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3007, allocations: 4 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.3007, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.3008, allocations: 3.984 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.3008, allocations: 57.5 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.3009, allocations: 56.05 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3009, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3009, allocations: 3.938 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3009, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 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.0004854/0.3014, allocations: 359.4 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3015, allocations: 11.97 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.3015, allocations: 34.75 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.3016, allocations: 8.844 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.3019, allocations: 196.2 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3019, allocations: 4.312 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3019, allocations: 8.375 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3021, allocations: 66.22 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3021, allocations: 3.938 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3021, allocations: 0 / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3021, allocations: 0 / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3022, allocations: 43.89 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3027, allocations: 296.7 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.303, allocations: 90.45 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.3031, allocations: 20.92 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3031, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3031, allocations: 34.56 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3031, allocations: 0 / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000253/0.3034, allocations: 81.75 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3034, allocations: 51.41 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.3035, allocations: 121.8 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3036, allocations: 29.64 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.3036, allocations: 100 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.3036, allocations: 7.844 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.3037, allocations: 13.72 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.3038, allocations: 326.8 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.3038, allocations: 16 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.3039, allocations: 29.7 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.304, allocations: 32.84 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.304, allocations: 4.031 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3042, allocations: 69.58 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3042, allocations: 8 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3042, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3042, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.3043, allocations: 7.938 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3043, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.3043, allocations: 23.92 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3044, allocations: 7.938 kB / 1.062 GB, free: 1.012 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 7.979e-05/0.3045, allocations: 117.8 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3045, allocations: 3.984 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3045, allocations: 11.91 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3045, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3045, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3045, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3047, allocations: 181.6 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3047, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.3048, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3048, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3048, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3048, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3048, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.305, allocations: 167.6 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3051, allocations: 93.05 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3051, allocations: 3.984 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.3052, allocations: 8 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3052, allocations: 3.984 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3052, allocations: 4 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.3053, allocations: 95.27 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3053, allocations: 4 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000219/0.3055, allocations: 8 kB / 1.063 GB, free: 224 kB / 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 0.0004259/0.3059, allocations: 0.6889 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3061, allocations: 47.91 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3061, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.3062, allocations: 19.98 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3065, allocations: 8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3078, allocations: 1.379 MB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.308, allocations: 0.6848 MB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.3081, allocations: 8 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.3081, allocations: 15.42 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3081, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.3187, allocations: 1.452 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.3189, allocations: 203 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.957, allocations: 3.234 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > 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