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.001737/0.001737, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 192 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.584/2.584, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 69.12 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.248, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001886/0.2499, allocations: 0.7067 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.2509, allocations: 0.8525 MB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.251, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.251, allocations: 7.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.2511, allocations: 7.875 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.2513, allocations: 15.98 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.2514, allocations: 59.78 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2515, allocations: 23.98 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2516, allocations: 23.92 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.2517, allocations: 35.78 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.2517, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.2517, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2517, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.2518, allocations: 35.78 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2519, allocations: 60.06 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2519, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2519, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2519, allocations: 4 kB / 1.066 GB, free: 12.34 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.0004673/0.2524, allocations: 365 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2524, allocations: 12.03 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.2525, allocations: 34.75 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2525, allocations: 8.844 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2527, allocations: 192.2 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2528, allocations: 4.375 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2528, allocations: 16.31 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2529, allocations: 58.17 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.253, allocations: 3.938 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.253, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.253, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.2531, allocations: 31.92 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2535, allocations: 296.8 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2538, allocations: 70.47 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.2538, allocations: 17 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2538, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2539, allocations: 38.56 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2539, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002402/0.2541, allocations: 73.52 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2542, allocations: 59.39 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.2543, allocations: 113.8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2543, allocations: 29.7 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.2544, allocations: 92.12 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.2544, allocations: 19.75 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.2544, allocations: 17.72 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2546, allocations: 318.8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.2546, allocations: 12 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.2547, allocations: 33.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.2548, allocations: 25.12 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2548, allocations: 4.031 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.2549, allocations: 73.59 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.255, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.255, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.255, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.255, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.255, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.2551, allocations: 15.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2551, allocations: 0 / 1.068 GB, free: 10.1 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 8.773e-05/0.2552, allocations: 121.7 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2552, allocations: 15.89 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.2553, allocations: 3.906 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2553, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2553, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2553, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2555, allocations: 185.6 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2555, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.2555, allocations: 4 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2555, allocations: 4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2556, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2556, allocations: 7.938 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2556, allocations: 0 / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2557, allocations: 155.4 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.2558, allocations: 85.09 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2558, allocations: 3.938 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.2559, allocations: 8 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2559, allocations: 11.98 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.256, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.256, allocations: 99.64 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.256, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002166/0.2562, allocations: 8 kB / 1.069 GB, free: 9.301 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.0004747/0.2567, allocations: 0.6967 MB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.2569, allocations: 35.97 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2569, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.257, allocations: 19.92 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2572, allocations: 5.25 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2585, allocations: 1.344 MB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2588, allocations: 0.6846 MB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.2588, allocations: 8.016 kB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.2589, allocations: 19.44 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2589, allocations: 0 / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.2797, allocations: 1.717 MB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.257, allocations: 9.25 kB / 1.073 GB, free: 4.707 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