Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008489/0.0008489, 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.001284/0.001284, 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.8431/0.8431, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.649/1.649, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.4e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001407/0.001421, allocations: 1.27 MB / 0.9822 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.002682, allocations: 1.328 MB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.002701, allocations: 0 / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.002718, allocations: 0 / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.003249, allocations: 223.1 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 6.119e-05/0.00331, allocations: 42.48 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.003355, allocations: 15.94 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.00339, allocations: 4 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.003422, allocations: 11.98 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08348/0.0869, allocations: 31.1 MB / 1.014 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.08692, allocations: 3.938 kB / 1.014 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.08693, allocations: 0 / 1.014 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.08695, allocations: 7.984 kB / 1.014 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.08697, allocations: 3.984 kB / 1.014 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.08708, allocations: 12 kB / 1.014 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08708, allocations: 3.938 kB / 1.014 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.555e-06/0.08708, allocations: 3.984 kB / 1.014 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.08709, allocations: 0 / 1.014 GB, free: 3.602 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002362/0.08732, allocations: 246.4 kB / 1.014 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.08736, allocations: 8.031 kB / 1.014 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.08741, allocations: 110 kB / 1.015 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.08745, allocations: 80.17 kB / 1.015 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.08754, allocations: 185.1 kB / 1.015 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.08757, allocations: 150.9 kB / 1.015 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.08761, allocations: 154.9 kB / 1.015 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.336e-05/0.08766, allocations: 105.5 kB / 1.015 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.08768, allocations: 75.47 kB / 1.015 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.08772, allocations: 158.5 kB / 1.015 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.08775, allocations: 154.5 kB / 1.016 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.08779, allocations: 154.6 kB / 1.016 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.08798, allocations: 421 kB / 1.016 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.08804, allocations: 165.1 kB / 1.016 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.08806, allocations: 84.14 kB / 1.016 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.08808, allocations: 75.28 kB / 1.016 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.08811, allocations: 113.7 kB / 1.017 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.08811, allocations: 0 / 1.017 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.135e-05/0.08817, allocations: 37.64 kB / 1.017 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.08824, allocations: 207.7 kB / 1.017 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.08832, allocations: 97.84 kB / 1.017 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.08833, allocations: 29.7 kB / 1.017 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.08836, allocations: 88.14 kB / 1.017 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.08836, allocations: 0 / 1.017 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.08838, allocations: 13.72 kB / 1.017 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.08846, allocations: 310.8 kB / 1.017 GB, free: 236 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.08846, allocations: 0 / 1.017 GB, free: 236 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.08851, allocations: 103.6 kB / 1.017 GB, free: 104 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.026e-05/0.08853, allocations: 75.28 kB / 1.017 GB, free: 28 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.08855, allocations: 79.28 kB / 1.018 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.12e-05/0.08858, allocations: 29.7 kB / 1.018 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.08861, allocations: 83.28 kB / 1.018 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.08863, allocations: 83.22 kB / 1.018 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.915e-05/0.08867, allocations: 154.5 kB / 1.018 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.08868, allocations: 83.27 kB / 1.018 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.08872, allocations: 154.5 kB / 1.018 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.08882, allocations: 83.33 kB / 1.018 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.08884, allocations: 75.28 kB / 1.018 GB, free: 15.21 MB / 0.9792 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 8.224e-05/0.08892, allocations: 268.3 kB / 1.018 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.08896, allocations: 105 kB / 1.019 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.08899, allocations: 112.1 kB / 1.019 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/0.08903, allocations: 184.2 kB / 1.019 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.222e-05/0.08908, allocations: 180.3 kB / 1.019 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.08912, allocations: 180.3 kB / 1.019 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.08925, allocations: 380.2 kB / 1.02 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.08927, allocations: 101 kB / 1.02 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.0893, allocations: 108.9 kB / 1.02 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-05/0.08934, allocations: 180.2 kB / 1.02 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.08938, allocations: 188.1 kB / 1.02 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.573e-05/0.08941, allocations: 176.3 kB / 1.02 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.792e-05/0.08945, allocations: 180.3 kB / 1.02 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.522e-05/0.08954, allocations: 307.8 kB / 1.021 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.08956, allocations: 113.3 kB / 1.021 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.08961, allocations: 184.2 kB / 1.021 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.08968, allocations: 105 kB / 1.021 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.08973, allocations: 188.2 kB / 1.021 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.08975, allocations: 109 kB / 1.021 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.08978, allocations: 79.52 kB / 1.021 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.08978, allocations: 3.938 kB / 1.021 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001602/0.08994, allocations: 4 kB / 1.021 GB, free: 11.65 MB / 0.9792 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.0002578/0.0902, allocations: 0.8088 MB / 1.022 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 3.994e-05/0.09024, allocations: 11.94 kB / 1.022 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.09024, allocations: 0 / 1.022 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.09024, allocations: 0 / 1.022 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.09049, allocations: 455.7 kB / 1.023 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.09078, allocations: 197.7 kB / 1.023 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.09084, allocations: 51.36 kB / 1.023 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.09086, allocations: 7.984 kB / 1.023 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.09088, allocations: 8.5 kB / 1.023 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of SimCode: time 2.81e-07/0.09088, allocations: 4 kB / 1.023 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1063, allocations: 1.964 MB / 1.025 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.882, allocations: 3.984 kB / 1.025 GB, free: 8.129 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.631662607192993]