Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8594/0.8594, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9996 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.871e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001259/0.001278, allocations: 0.6846 MB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.002103, allocations: 0.8821 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.002143, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002171, allocations: 7.875 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.002245, allocations: 3.938 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.002428, allocations: 35.83 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.002503, allocations: 55.8 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.00259, allocations: 11.98 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.002716, allocations: 47.89 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.00277, allocations: 23.92 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.002785, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.00282, allocations: 11.94 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.002835, allocations: 19.91 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.002855, allocations: 15.94 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002966, allocations: 75.75 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002968, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002969, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002972, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 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.000339/0.003311, allocations: 300.3 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003346, allocations: 12.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.003371, allocations: 30.75 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.003462, allocations: 16.88 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.00361, allocations: 129.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.003623, allocations: 12.38 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003632, allocations: 384 / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.003731, allocations: 62.95 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.003737, allocations: 192 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.003744, allocations: 4.375 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003749, allocations: 4.125 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.00381, allocations: 31.97 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.004092, allocations: 255.9 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.004264, allocations: 74.41 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.004294, allocations: 24.94 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.004306, allocations: 4 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.004321, allocations: 34.56 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004321, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001569/0.004478, allocations: 69.62 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.004502, allocations: 55.34 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.004562, allocations: 121.8 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.004575, allocations: 33.69 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.004614, allocations: 88.14 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.004626, allocations: 3.953 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.004654, allocations: 21.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.00472, allocations: 322.8 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.004749, allocations: 15.98 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.004794, allocations: 55.41 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.004842, allocations: 33.11 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.004843, allocations: 3.938 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.23e-05/0.004915, allocations: 69.52 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.004925, allocations: 8 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.004928, allocations: 0 / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.004939, allocations: 8.016 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.004965, allocations: 4 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.004969, allocations: 0 / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.004996, allocations: 11.98 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.005, allocations: 0 / 1.003 GB, free: 9.617 MB / 0.9636 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 5.215e-05/0.005052, allocations: 113.8 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.005066, allocations: 11.89 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.005085, allocations: 8 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005087, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.00509, allocations: 4 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005093, allocations: 3.984 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005198, allocations: 140.7 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005198, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.005214, allocations: 11.92 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005215, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00522, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005222, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005222, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.005315, allocations: 163.4 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.005322, allocations: 4 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.005334, allocations: 8 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.00537, allocations: 7.984 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.005403, allocations: 7.984 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005407, allocations: 4 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.005441, allocations: 95.64 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005441, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001416/0.005582, allocations: 11.94 kB / 1.004 GB, free: 8.953 MB / 0.9636 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.0003626/0.005945, allocations: 0.6928 MB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.00604, allocations: 35.97 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006042, allocations: 0 / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.006066, allocations: 12 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.00626, allocations: 17.38 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.007065, allocations: 1.331 MB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.007111, allocations: 75.31 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.007138, allocations: 4 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.007178, allocations: 20.5 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of SimCode: time 6.42e-07/0.007179, allocations: 3.938 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.02092, allocations: 2.442 MB / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/6.552, allocations: 3.938 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.576723390258849]