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.001309/0.001309, 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.001285/0.001285, allocations: 190.9 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.568/2.568, allocations: 469.8 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 68.08 kB / 0.9082 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2417, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001772/0.2435, allocations: 0.7655 MB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.2444, allocations: 0.8429 MB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.2445, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2445, allocations: 3.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.2446, allocations: 3.938 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2447, allocations: 19.98 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.2448, allocations: 59.8 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.2449, allocations: 23.97 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.245, allocations: 27.86 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.2451, allocations: 27.86 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2451, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.2451, allocations: 8 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.2451, allocations: 11.97 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.2452, allocations: 27.8 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.2453, allocations: 68.06 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2453, allocations: 0 / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2453, allocations: 4 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2453, allocations: 0 / 1.065 GB, free: 12.59 MB / 0.8262 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.0004486/0.2458, allocations: 359.3 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2458, allocations: 12.03 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.2458, allocations: 38.73 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2459, allocations: 8.844 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.2461, allocations: 204.1 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.2461, allocations: 384 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2462, allocations: 8.375 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2463, allocations: 54.23 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2463, allocations: 3.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2463, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2463, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.2464, allocations: 23.98 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.2468, allocations: 300.8 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.2471, allocations: 66.53 kB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.2471, allocations: 24.94 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2472, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2472, allocations: 34.56 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2472, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002252/0.2474, allocations: 73.52 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2475, allocations: 59.41 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.2476, allocations: 125.8 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2476, allocations: 25.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.2476, allocations: 88.14 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2477, allocations: 15.81 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2477, allocations: 17.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2478, allocations: 318.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.2479, allocations: 15.98 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.248, allocations: 29.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.2481, allocations: 32.78 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2481, allocations: 4.031 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.2482, allocations: 65.95 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2482, allocations: 4 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2482, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2483, allocations: 4.031 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.2483, allocations: 4 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2483, allocations: 4 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.2484, allocations: 15.86 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2484, allocations: 0 / 1.067 GB, free: 10.34 MB / 0.8262 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.994e-05/0.2485, allocations: 121.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.2485, allocations: 7.906 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.2485, allocations: 15.83 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2485, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2485, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2486, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2487, allocations: 177.7 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2487, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.2488, allocations: 7.984 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2488, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2488, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2488, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2488, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.249, allocations: 163.4 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.249, allocations: 77.11 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2491, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.2491, allocations: 11.98 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2492, allocations: 7.984 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2492, allocations: 3.938 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.2493, allocations: 103.2 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2493, allocations: 0 / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002096/0.2495, allocations: 8 kB / 1.068 GB, free: 9.543 MB / 0.8262 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.0004471/0.2499, allocations: 0.6889 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.2501, allocations: 43.91 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2501, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.2501, allocations: 8 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2504, allocations: 19.19 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2517, allocations: 1.339 MB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.252, allocations: 0.6884 MB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.252, allocations: 12.41 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.252, allocations: 23.42 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2521, allocations: 0 / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.3622, allocations: 1.565 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.3625, allocations: 194.6 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.013, allocations: 4 kB / 1.073 GB, free: 4.887 MB / 0.8262 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