Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 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.001399/0.001399, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.53/2.53, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 62.41 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2372, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001871/0.2391, allocations: 0.6988 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.2401, allocations: 0.8486 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.2401, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.2402, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.2403, allocations: 7.875 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.2404, allocations: 23.95 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.2405, allocations: 59.8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2406, allocations: 23.98 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.2407, allocations: 27.84 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.2408, allocations: 27.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2408, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.2408, allocations: 8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.2408, allocations: 11.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.2409, allocations: 27.81 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.241, allocations: 64.05 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.241, allocations: 8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.241, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.241, allocations: 0 / 1.066 GB, free: 12.33 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.0004623/0.2415, allocations: 367.3 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2415, allocations: 8.031 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.2416, allocations: 30.75 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.2416, allocations: 8.844 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.2418, allocations: 200.1 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2419, allocations: 4.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2419, allocations: 8.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.242, allocations: 58.23 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.242, allocations: 3.938 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.242, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.242, allocations: 3.938 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.2422, allocations: 31.97 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.2426, allocations: 304.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.2428, allocations: 70.52 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.2429, allocations: 16.92 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2429, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2429, allocations: 34.56 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.243, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002368/0.2432, allocations: 77.59 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2432, allocations: 51.41 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.2433, allocations: 121.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.2434, allocations: 25.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.2434, allocations: 100.1 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2434, allocations: 11.75 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.2435, allocations: 17.72 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2436, allocations: 322.8 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.2437, allocations: 19.98 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.2438, allocations: 21.91 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.2439, allocations: 40.89 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2439, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.244, allocations: 61.67 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.244, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.244, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.244, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.2441, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2441, allocations: 7.922 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.2442, allocations: 8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2442, allocations: 11.98 kB / 1.068 GB, free: 10.06 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 (shaT.hys.y,$PRE.shaT.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.15e-05/0.2443, allocations: 117.8 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2443, allocations: 3.906 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.2443, allocations: 7.906 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2443, allocations: 3.938 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2444, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2444, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2445, allocations: 177.6 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2445, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.2446, allocations: 8 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2446, allocations: 0 / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2446, allocations: 0 / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2446, allocations: 3.984 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2446, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2448, allocations: 159.4 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.2449, allocations: 81.05 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2449, allocations: 4 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.245, allocations: 8 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.245, allocations: 7.984 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.245, allocations: 8 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2451, allocations: 95.2 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2451, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002497/0.2453, allocations: 8 kB / 1.069 GB, free: 9.277 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0004774/0.2458, allocations: 0.6984 MB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.246, allocations: 35.92 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.246, allocations: 0 / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.2461, allocations: 19.98 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2463, allocations: 5.25 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2476, allocations: 1.343 MB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2479, allocations: 0.6807 MB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.248, allocations: 11.98 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.248, allocations: 15.44 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.248, allocations: 3.938 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/1.278, allocations: 1.717 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.69, allocations: 2.812 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches