Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.00146/0.00146, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001653/0.001653, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.351/3.351, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 71.7 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.371, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002629/0.3736, allocations: 0.7003 MB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3751, allocations: 0.8705 MB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.3752, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.3752, allocations: 7.875 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.3753, allocations: 11.92 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.3755, allocations: 27.91 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3756, allocations: 59.8 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3757, allocations: 15.97 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3759, allocations: 31.86 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3759, allocations: 19.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3759, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.376, allocations: 15.92 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.376, allocations: 15.98 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.3761, allocations: 19.86 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3762, allocations: 83.94 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3762, allocations: 3.938 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3762, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3762, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 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.0005051/0.3767, allocations: 286.2 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3768, allocations: 12.02 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.3768, allocations: 34.75 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.377, allocations: 20.88 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3773, allocations: 138.3 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3773, allocations: 4.375 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3773, allocations: 8.375 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3775, allocations: 54.23 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3775, allocations: 3.938 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3775, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3775, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3776, allocations: 31.97 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.3781, allocations: 259.8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3784, allocations: 70.53 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.3784, allocations: 13.02 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.3785, allocations: 7.984 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3785, allocations: 30.56 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3785, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002755/0.3788, allocations: 65.67 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3788, allocations: 55.41 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.379, allocations: 121.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.379, allocations: 33.7 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.3791, allocations: 96.02 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3791, allocations: 7.953 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.3791, allocations: 25.64 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3793, allocations: 318.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.3794, allocations: 15.98 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.3795, allocations: 55.41 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.3796, allocations: 36.81 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3796, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.3797, allocations: 65.97 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3797, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3797, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3797, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.3798, allocations: 11.98 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3798, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.3799, allocations: 7.984 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3799, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 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 9.867e-05/0.38, allocations: 129.7 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.38, allocations: 11.89 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.38, allocations: 8 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.38, allocations: 4 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.38, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.38, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3802, allocations: 144.7 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3802, allocations: 4 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.3803, allocations: 7.984 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3803, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3803, allocations: 4 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3803, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3803, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.3805, allocations: 155.5 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3805, allocations: 7.953 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3805, allocations: 0 / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.3806, allocations: 7.984 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3807, allocations: 19.92 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3807, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.553e-05/0.3807, allocations: 99.2 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3807, allocations: 4 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002204/0.381, allocations: 4 kB / 1.368 GB, free: 9.484 MB / 1.061 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.0005798/0.3815, allocations: 0.689 MB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3817, allocations: 39.91 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3817, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.85e-05/0.3818, allocations: 16 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3821, allocations: 7.984 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3836, allocations: 1.331 MB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.3837, allocations: 63.34 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.3837, allocations: 12.41 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3838, allocations: 19.44 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.3838, allocations: 0 / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4153, allocations: 2.317 MB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 10.09 kB / 1.372 GB, free: 5 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 18.980398050043732]