Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_10_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.006142/0.006142, allocations: 100 kB / 15.73 MB, free: 6.023 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.001681/0.001681, allocations: 194 kB / 16.67 MB, free: 5.957 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 63.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2438, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001645/0.2455, allocations: 0.6913 MB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.2464, allocations: 0.8467 MB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.2465, allocations: 4 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.2465, allocations: 7.922 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.2466, allocations: 11.88 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.2467, allocations: 23.97 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.705e-05/0.2468, allocations: 55.84 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.2469, allocations: 15.98 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.247, allocations: 35.86 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.2471, allocations: 27.84 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2471, allocations: 8 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2471, allocations: 4 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.2471, allocations: 15.92 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2472, allocations: 19.88 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2473, allocations: 67.98 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2473, allocations: 4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2473, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2473, allocations: 0 / 1.168 GB, free: 5.426 MB / 0.92 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.0004506/0.2478, allocations: 375.2 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2478, allocations: 12.03 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.2478, allocations: 34.75 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.2479, allocations: 8.891 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.2481, allocations: 196.2 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2481, allocations: 8.375 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2482, allocations: 4.375 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2483, allocations: 54.23 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2483, allocations: 11.88 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2483, allocations: 4 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2483, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.2484, allocations: 27.97 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.2488, allocations: 300.7 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.2491, allocations: 74.52 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.2491, allocations: 16.92 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.2492, allocations: 0 / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2492, allocations: 30.56 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2492, allocations: 0 / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.2494, allocations: 85.64 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2495, allocations: 51.41 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.2496, allocations: 121.8 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2496, allocations: 29.7 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2497, allocations: 92.08 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2497, allocations: 11.95 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.2497, allocations: 13.72 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2498, allocations: 322.8 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.2499, allocations: 19.98 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.25, allocations: 25.72 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.2501, allocations: 32.78 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2501, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.2502, allocations: 69.62 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2502, allocations: 6.031 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2502, allocations: 32 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2502, allocations: 4 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.2503, allocations: 7.984 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2503, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.2504, allocations: 8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2504, allocations: 3.984 kB / 1.17 GB, free: 3.16 MB / 0.92 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.233e-05/0.2505, allocations: 117.8 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.2505, allocations: 336 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2505, allocations: 15.91 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2505, allocations: 3.984 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2505, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2505, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2507, allocations: 181.5 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2507, allocations: 3.938 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.2508, allocations: 4 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2508, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2508, allocations: 4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2508, allocations: 3.984 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2508, allocations: 3.938 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.251, allocations: 163.4 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.251, allocations: 89 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2511, allocations: 4 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.2511, allocations: 4 kB / 1.17 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2512, allocations: 7.984 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.2512, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.2512, allocations: 103.3 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2513, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002076/0.2515, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 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.0004459/0.2519, allocations: 0.6967 MB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2521, allocations: 35.98 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2521, allocations: 4 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.2521, allocations: 15.92 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.2524, allocations: 8 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2536, allocations: 1.327 MB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2539, allocations: 0.6924 MB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.254, allocations: 0 / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.254, allocations: 19.42 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.254, allocations: 0 / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.819/2.073, allocations: 1.755 MB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.96, allocations: 1.406 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches