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: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_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.01441/0.01441, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.002473/0.002473, allocations: 189.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.158/2.158, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.737/3.737, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 72.12 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341/1.344, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00295/1.347, allocations: 0.6973 MB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002071/1.349, allocations: 0.8463 MB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/1.349, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/1.349, allocations: 5.734 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/1.349, allocations: 9.719 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/1.349, allocations: 21.31 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/1.35, allocations: 60.08 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/1.35, allocations: 24.08 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/1.35, allocations: 28.38 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/1.35, allocations: 28.97 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/1.35, allocations: 5.938 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/1.35, allocations: 4.656 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/1.35, allocations: 15.84 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/1.35, allocations: 24.5 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/1.351, allocations: 71.16 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.351, allocations: 4 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/1.351, allocations: 1.062 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.45e-05/1.351, allocations: 0 / 1.089 GB, free: 4.02 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.0007127/1.351, allocations: 367.5 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/1.351, allocations: 9.969 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/1.352, allocations: 33.23 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/1.352, allocations: 7.781 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/1.352, allocations: 188.1 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.352, allocations: 13.56 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.352, allocations: 4.156 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/1.352, allocations: 59.08 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.352, allocations: 3.938 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.352, allocations: 1.891 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.352, allocations: 0 / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/1.352, allocations: 29.23 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/1.353, allocations: 302 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/1.353, allocations: 70.3 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/1.354, allocations: 19.86 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/1.354, allocations: 80 / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.354, allocations: 36.05 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.354, allocations: 0.9062 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004027/1.354, allocations: 70.47 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.354, allocations: 60.86 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.354, allocations: 123 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.354, allocations: 30.83 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/1.354, allocations: 93.31 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/1.354, allocations: 14.05 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/1.354, allocations: 19.33 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/1.355, allocations: 322.8 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/1.355, allocations: 14.11 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/1.355, allocations: 27.69 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/1.355, allocations: 26.22 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.355, allocations: 4.031 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002144/1.355, allocations: 66.55 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/1.355, allocations: 6.391 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.355, allocations: 3.984 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.355, allocations: 0 / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/1.355, allocations: 10.75 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.355, allocations: 0.7812 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/1.355, allocations: 8.094 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/1.355, allocations: 1.562 kB / 1.091 GB, free: 2.152 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 0.0001073/1.356, allocations: 121.8 kB / 1.091 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/1.356, allocations: 7.188 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/1.356, allocations: 6.5 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.356, allocations: 1.344 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.356, allocations: 0 / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.356, allocations: 0.7031 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/1.356, allocations: 178 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.356, allocations: 1.125 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/1.356, allocations: 5.703 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.356, allocations: 8.734 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.356, allocations: 1.703 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.356, allocations: 0 / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.356, allocations: 1.188 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/1.356, allocations: 165.8 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/1.356, allocations: 79.58 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/1.356, allocations: 1.656 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.357, allocations: 14.2 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/1.357, allocations: 7.078 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/1.357, allocations: 5.766 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.429e-05/1.357, allocations: 92.03 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.357, allocations: 1.094 kB / 1.092 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003817/1.357, allocations: 14.44 kB / 1.092 GB, free: 1.461 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.0005676/1.358, allocations: 0.6956 MB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002455/1.358, allocations: 33.38 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.358, allocations: 0 / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/1.358, allocations: 16.95 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/1.359, allocations: 10.11 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.361, allocations: 1.34 MB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.361, allocations: 0.684 MB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.861e-05/1.361, allocations: 12.33 kB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/1.361, allocations: 20.47 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.361, allocations: 0.6875 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04156/1.403, allocations: 1.746 MB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.57, allocations: 4.781 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > 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/jenkins1/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