Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001595/0.001595, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001937/0.001937, allocations: 217.3 kB / 22.25 MB, free: 5.082 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.039 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.158/3.158, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.003246/0.003246, allocations: 71.22 kB / 1.177 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3652, allocations: 180.2 MB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002384/0.3675, allocations: 1.251 MB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3697, allocations: 1.36 MB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.3697, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.3697, allocations: 3.938 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.3705, allocations: 210.7 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.3706, allocations: 35.95 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.3706, allocations: 15.92 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3707, allocations: 4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.3707, allocations: 7.984 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2551/0.6258, allocations: 31.07 MB / 1.386 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.6258, allocations: 0 / 1.386 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.6258, allocations: 0 / 1.386 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.6258, allocations: 3.984 kB / 1.386 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.6259, allocations: 4 kB / 1.386 GB, free: 8.957 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.626, allocations: 7.938 kB / 1.386 GB, free: 8.949 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.626, allocations: 4 kB / 1.386 GB, free: 8.945 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.589e-06/0.626, allocations: 7.922 kB / 1.386 GB, free: 8.938 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.626, allocations: 0 / 1.386 GB, free: 8.938 MB / 1.076 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.0003251/0.6263, allocations: 238.5 kB / 1.386 GB, free: 8.676 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6264, allocations: 12.03 kB / 1.386 GB, free: 8.664 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/0.6265, allocations: 110 kB / 1.386 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.6265, allocations: 80.2 kB / 1.386 GB, free: 8.469 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.6267, allocations: 189.8 kB / 1.387 GB, free: 8.258 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.6268, allocations: 154.9 kB / 1.387 GB, free: 8.105 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.6268, allocations: 150.9 kB / 1.387 GB, free: 7.957 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.602e-05/0.6269, allocations: 108.9 kB / 1.387 GB, free: 7.844 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.627, allocations: 75.28 kB / 1.387 GB, free: 7.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.627, allocations: 154.6 kB / 1.387 GB, free: 7.617 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-05/0.6271, allocations: 154.6 kB / 1.387 GB, free: 7.465 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.6272, allocations: 154.5 kB / 1.388 GB, free: 7.312 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.6275, allocations: 417 kB / 1.388 GB, free: 6.863 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.6276, allocations: 169.1 kB / 1.388 GB, free: 6.688 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.6276, allocations: 84.14 kB / 1.388 GB, free: 6.602 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.6277, allocations: 83.22 kB / 1.388 GB, free: 6.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.506e-05/0.6277, allocations: 105.8 kB / 1.388 GB, free: 6.406 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6277, allocations: 3.938 kB / 1.388 GB, free: 6.402 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.665e-05/0.6278, allocations: 41.59 kB / 1.388 GB, free: 6.355 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.628, allocations: 203.8 kB / 1.389 GB, free: 6.125 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.6281, allocations: 101.8 kB / 1.389 GB, free: 6.016 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.6281, allocations: 29.7 kB / 1.389 GB, free: 5.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.6282, allocations: 80.14 kB / 1.389 GB, free: 5.898 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.6282, allocations: 4 kB / 1.389 GB, free: 5.895 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.6282, allocations: 9.719 kB / 1.389 GB, free: 5.879 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6283, allocations: 322.8 kB / 1.389 GB, free: 5.555 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-06/0.6283, allocations: 0 / 1.389 GB, free: 5.555 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.6284, allocations: 14.58 kB / 1.389 GB, free: 5.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.6284, allocations: 83.28 kB / 1.389 GB, free: 5.449 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/0.6285, allocations: 75.28 kB / 1.389 GB, free: 5.375 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.857e-05/0.6285, allocations: 37.58 kB / 1.389 GB, free: 5.332 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.6286, allocations: 79.28 kB / 1.389 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.357e-05/0.6286, allocations: 75.28 kB / 1.389 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.233e-05/0.6287, allocations: 158.5 kB / 1.39 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.125e-05/0.6287, allocations: 83.22 kB / 1.39 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-05/0.6288, allocations: 158.6 kB / 1.39 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.629, allocations: 83.22 kB / 1.39 GB, free: 4.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.629, allocations: 75.28 kB / 1.39 GB, free: 4.629 MB / 1.076 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 0.0001442/0.6291, allocations: 260.3 kB / 1.39 GB, free: 4.363 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.6292, allocations: 116.8 kB / 1.39 GB, free: 4.242 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.6293, allocations: 112.1 kB / 1.39 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.6294, allocations: 188.2 kB / 1.391 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.207e-05/0.6294, allocations: 176.3 kB / 1.391 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.69e-05/0.6295, allocations: 176.3 kB / 1.391 GB, free: 3.574 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.6298, allocations: 380.2 kB / 1.391 GB, free: 3.152 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/0.6298, allocations: 112.9 kB / 1.391 GB, free: 3.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.6299, allocations: 108.9 kB / 1.392 GB, free: 2.922 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.626e-05/0.63, allocations: 176.3 kB / 1.392 GB, free: 2.742 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.63, allocations: 180.3 kB / 1.392 GB, free: 2.559 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.276e-05/0.6301, allocations: 180.2 kB / 1.392 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.508e-05/0.6302, allocations: 180.3 kB / 1.392 GB, free: 2.191 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.6304, allocations: 307.8 kB / 1.393 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.6304, allocations: 109.2 kB / 1.393 GB, free: 1.754 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.6305, allocations: 184.2 kB / 1.393 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.6306, allocations: 109 kB / 1.393 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.6307, allocations: 188.2 kB / 1.393 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.6308, allocations: 105 kB / 1.393 GB, free: 1.152 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.6308, allocations: 79.28 kB / 1.393 GB, free: 1.074 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.6308, allocations: 0 / 1.393 GB, free: 1.074 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002423/0.6311, allocations: 7.938 kB / 1.393 GB, free: 1.066 MB / 1.076 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.0004639/0.6315, allocations: 0.8087 MB / 1.394 GB, free: 232 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.199e-05/0.6316, allocations: 8 kB / 1.394 GB, free: 224 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6316, allocations: 0 / 1.394 GB, free: 224 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6316, allocations: 0 / 1.394 GB, free: 224 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.632, allocations: 455.7 kB / 1.395 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.6328, allocations: 199.2 kB / 1.395 GB, free: 15.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6331, allocations: 0.6767 MB / 1.395 GB, free: 14.83 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.6332, allocations: 4 kB / 1.395 GB, free: 14.83 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.6332, allocations: 11.42 kB / 1.395 GB, free: 14.82 MB / 1.092 GB Notification: Performance of SimCode: time 7.92e-07/0.6332, allocations: 3.938 kB / 1.395 GB, free: 14.82 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.6683, allocations: 1.363 MB / 1.397 GB, free: 13.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.77, allocations: 5.812 kB / 1.397 GB, free: 13.55 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.357021329924464]