Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_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.005256/0.005256, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001419/0.001419, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.644/2.644, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001686/0.2573, allocations: 0.7046 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.2582, allocations: 0.8506 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.2582, allocations: 0 / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.2583, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.2583, allocations: 7.875 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.2585, allocations: 19.97 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.776e-05/0.2586, allocations: 63.78 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.2587, allocations: 27.92 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.2588, allocations: 27.86 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2588, allocations: 31.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2589, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2589, allocations: 8 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2589, allocations: 7.984 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2589, allocations: 27.88 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2591, allocations: 67.7 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2591, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2591, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2591, allocations: 3.984 kB / 1.222 GB, free: 12.47 MB / 0.9825 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.0004419/0.2595, allocations: 363.3 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2596, allocations: 8.031 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.2596, allocations: 34.75 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.2596, allocations: 8.891 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2599, allocations: 208.1 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2599, allocations: 4.375 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2599, allocations: 4.375 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.26, allocations: 54.25 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2601, allocations: 3.938 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2601, allocations: 7.969 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2601, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.2602, allocations: 27.98 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.2606, allocations: 296.8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2609, allocations: 66.53 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.2609, allocations: 21 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2609, allocations: 80 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.261, allocations: 42.56 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.261, allocations: 0 / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002338/0.2612, allocations: 73.56 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2613, allocations: 51.41 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.2614, allocations: 121.8 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2614, allocations: 25.7 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.2614, allocations: 104 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.2615, allocations: 7.953 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.2615, allocations: 21.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2616, allocations: 322.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.2617, allocations: 15.98 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.2618, allocations: 29.7 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.2619, allocations: 32.78 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2619, allocations: 4.031 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.262, allocations: 61.64 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.262, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.262, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.262, allocations: 3.984 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.2621, allocations: 7.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2621, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.2622, allocations: 7.984 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2622, allocations: 8 kB / 1.224 GB, free: 10.21 MB / 0.9825 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.737e-05/0.2623, allocations: 113.8 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2623, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.2623, allocations: 11.84 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2623, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2623, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2623, allocations: 3.984 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2625, allocations: 177.5 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2625, allocations: 4 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.2626, allocations: 11.98 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2626, allocations: 4.328 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.2626, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2626, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2626, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2628, allocations: 159.5 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2628, allocations: 81.06 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2629, allocations: 4 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.2629, allocations: 11.98 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.263, allocations: 7.984 kB / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.263, allocations: 4 kB / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.803e-05/0.2631, allocations: 95.2 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2631, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002166/0.2633, allocations: 8 kB / 1.225 GB, free: 9.422 MB / 0.9825 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.000453/0.2637, allocations: 0.6972 MB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.2639, allocations: 35.92 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2639, allocations: 0 / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.264, allocations: 19.98 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2642, allocations: 3.938 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2655, allocations: 1.351 MB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2658, allocations: 0.6807 MB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.2658, allocations: 7.984 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.2659, allocations: 19.44 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.114e-06/0.2659, allocations: 0 / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.738/1.004, allocations: 1.747 MB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.561, allocations: 10.8 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches