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.001762/0.001762, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002115/0.002116, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.386/2.386, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 60.14 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.841, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002344/0.8434, allocations: 0.7558 MB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.8443, allocations: 0.8377 MB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.8444, allocations: 1.375 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.8444, allocations: 3.938 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.8445, allocations: 9.297 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.8447, allocations: 22.73 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.8448, allocations: 59.17 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.8449, allocations: 20.22 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.845, allocations: 25.55 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.8451, allocations: 30.67 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.8451, allocations: 5.688 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.8451, allocations: 5.719 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.8452, allocations: 17.33 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.8452, allocations: 25.42 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.8453, allocations: 68.22 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8453, allocations: 0 / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8453, allocations: 0 / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8454, allocations: 0 / 0.9511 GB, free: 7.629 MB / 0.7169 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.000497/0.8459, allocations: 370.2 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.8459, allocations: 9.219 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.846, allocations: 36.38 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.846, allocations: 11.44 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8462, allocations: 186.5 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.8463, allocations: 2.688 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.8463, allocations: 3.531 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.8464, allocations: 72.27 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8464, allocations: 3.938 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8465, allocations: 4 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8465, allocations: 1.188 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.8466, allocations: 31.94 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.847, allocations: 298.2 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.8473, allocations: 74.5 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.8473, allocations: 16.36 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.8473, allocations: 3.984 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.8474, allocations: 31.94 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8474, allocations: 0 / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002509/0.8476, allocations: 75.17 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.8477, allocations: 59.34 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.8477, allocations: 122.5 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.8478, allocations: 29.69 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.8478, allocations: 95.17 kB / 0.9525 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.8478, allocations: 9.312 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.8479, allocations: 17.61 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.8479, allocations: 320.8 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.848, allocations: 15.42 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.848, allocations: 36.67 kB / 0.9529 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.8481, allocations: 25.41 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.8481, allocations: 1.594 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.8483, allocations: 65.84 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8483, allocations: 6.031 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8483, allocations: 0 / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8483, allocations: 5.25 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.8484, allocations: 12.05 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.8484, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.8484, allocations: 9.859 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.8484, allocations: 1.156 kB / 0.953 GB, free: 5.633 MB / 0.7169 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 6.49e-05/0.8485, allocations: 116.7 kB / 0.9532 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.8485, allocations: 2.938 kB / 0.9532 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.8486, allocations: 9.156 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8486, allocations: 1.375 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8486, allocations: 4 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8486, allocations: 336 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.8487, allocations: 180.3 kB / 0.9533 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8487, allocations: 0 / 0.9533 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.8488, allocations: 8.328 kB / 0.9533 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8488, allocations: 1.531 kB / 0.9533 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8488, allocations: 7.984 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8488, allocations: 0 / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8488, allocations: 5.469 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.8489, allocations: 162.5 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.849, allocations: 82.36 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.849, allocations: 1.219 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.8491, allocations: 11.39 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.8491, allocations: 4.062 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.8491, allocations: 5.047 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.8492, allocations: 96.86 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8492, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000215/0.8494, allocations: 14.94 kB / 0.9537 GB, free: 4.906 MB / 0.7169 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.0003066/0.8497, allocations: 0.6954 MB / 0.9544 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.8499, allocations: 32.45 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8499, allocations: 4 kB / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.8499, allocations: 18.33 kB / 0.9545 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.8502, allocations: 12.02 kB / 0.9545 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.8514, allocations: 1.34 MB / 0.9558 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.8515, allocations: 0.6942 MB / 0.9565 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.8516, allocations: 4.031 kB / 0.9565 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.8516, allocations: 26.05 kB / 0.9565 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8516, allocations: 0 / 0.9565 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.8627, allocations: 1.554 MB / 0.958 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.8628, allocations: 209.9 kB / 0.9582 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.608, allocations: 0 / 0.9582 GB, free: 1.141 MB / 0.7169 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