Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.0008293/0.0008293, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007925/0.0007925, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8482/0.8482, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.852e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001465/0.001483, allocations: 1.263 MB / 0.9517 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.002807, allocations: 1.325 MB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.002828, allocations: 0 / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.002845, allocations: 0 / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.003409, allocations: 227 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.416e-05/0.003473, allocations: 35.44 kB / 0.9533 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.003523, allocations: 15.94 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.003563, allocations: 4 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.003595, allocations: 11.98 kB / 0.9533 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08311/0.08671, allocations: 31.11 MB / 0.9837 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.08673, allocations: 0 / 0.9837 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.08674, allocations: 4 kB / 0.9837 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.08676, allocations: 3.984 kB / 0.9837 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.08679, allocations: 4 kB / 0.9837 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.08691, allocations: 15.92 kB / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.08692, allocations: 0 / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.352e-06/0.08692, allocations: 0 / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.08692, allocations: 0 / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002416/0.08716, allocations: 240.2 kB / 0.9839 GB, free: 4.23 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.08721, allocations: 16.03 kB / 0.984 GB, free: 4.215 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.08726, allocations: 110 kB / 0.9841 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.08731, allocations: 80.22 kB / 0.9841 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.0874, allocations: 189 kB / 0.9843 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.08743, allocations: 154.9 kB / 0.9845 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.08747, allocations: 150.9 kB / 0.9846 GB, free: 3.508 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.233e-05/0.08752, allocations: 105.5 kB / 0.9847 GB, free: 3.398 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.08754, allocations: 79.47 kB / 0.9848 GB, free: 3.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.08757, allocations: 154.5 kB / 0.9849 GB, free: 3.168 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.08761, allocations: 150.6 kB / 0.9851 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.08765, allocations: 154.6 kB / 0.9852 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.08784, allocations: 421 kB / 0.9856 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.487e-05/0.0879, allocations: 173.1 kB / 0.9858 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.08793, allocations: 80.14 kB / 0.9859 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.08795, allocations: 75.28 kB / 0.9859 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.08798, allocations: 105.8 kB / 0.986 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.08798, allocations: 4 kB / 0.986 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 6.16e-05/0.08805, allocations: 33.58 kB / 0.9861 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.08812, allocations: 207.8 kB / 0.9863 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.08821, allocations: 97.84 kB / 0.9864 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.08823, allocations: 33.7 kB / 0.9864 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.08826, allocations: 80.14 kB / 0.9865 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.08826, allocations: 0 / 0.9865 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.08828, allocations: 17.72 kB / 0.9865 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.08835, allocations: 314.8 kB / 0.9868 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.08836, allocations: 0 / 0.9868 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.08841, allocations: 95.69 kB / 0.9869 GB, free: 1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.08843, allocations: 75.28 kB / 0.987 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.08845, allocations: 79.28 kB / 0.987 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.649e-05/0.08849, allocations: 33.64 kB / 0.9871 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.08852, allocations: 91.12 kB / 0.9872 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.08854, allocations: 83.22 kB / 0.9872 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/0.08859, allocations: 154.5 kB / 0.9874 GB, free: 496 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.836e-05/0.0886, allocations: 83.22 kB / 0.9875 GB, free: 412 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/0.08864, allocations: 154.5 kB / 0.9876 GB, free: 256 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.08875, allocations: 87.27 kB / 0.9877 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.08877, allocations: 75.28 kB / 0.9878 GB, free: 92 kB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.583e-05/0.08886, allocations: 268.3 kB / 0.988 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.0889, allocations: 105 kB / 0.9881 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.08894, allocations: 116 kB / 0.9882 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/0.08898, allocations: 176.3 kB / 0.9884 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-05/0.08902, allocations: 188.2 kB / 0.9886 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/0.08906, allocations: 180.3 kB / 0.9887 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.08919, allocations: 372.3 kB / 0.9891 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.08921, allocations: 104.9 kB / 0.9892 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.08924, allocations: 108.9 kB / 0.9893 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-05/0.08928, allocations: 188.4 kB / 0.9895 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.08932, allocations: 180.2 kB / 0.9897 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-05/0.08936, allocations: 180.2 kB / 0.9898 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.98e-05/0.0894, allocations: 184.3 kB / 0.99 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.318e-05/0.0895, allocations: 311.7 kB / 0.9903 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.08953, allocations: 113.4 kB / 0.9904 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.08958, allocations: 184.1 kB / 0.9906 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.08966, allocations: 109 kB / 0.9907 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.0897, allocations: 176.3 kB / 0.9909 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.08973, allocations: 112.9 kB / 0.991 GB, free: 12.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.08976, allocations: 79.28 kB / 0.991 GB, free: 12.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.08976, allocations: 0 / 0.991 GB, free: 12.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001559/0.08991, allocations: 4 kB / 0.991 GB, free: 12.52 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002889/0.0902, allocations: 0.801 MB / 0.9918 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.153e-05/0.09025, allocations: 15.88 kB / 0.9918 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.09025, allocations: 0 / 0.9918 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.09025, allocations: 0 / 0.9918 GB, free: 11.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.0905, allocations: 455.7 kB / 0.9923 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.09083, allocations: 193.8 kB / 0.9925 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.09087, allocations: 51.36 kB / 0.9925 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.0909, allocations: 7.938 kB / 0.9925 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.09092, allocations: 8.5 kB / 0.9925 GB, free: 10.91 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.09092, allocations: 4 kB / 0.9925 GB, free: 10.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1077, allocations: 1.955 MB / 0.9944 GB, free: 9.027 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.983, allocations: 7.969 kB / 0.9944 GB, free: 9.02 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.89590077009052]