Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 71.88 kB / 1.056 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8072/0.8103, allocations: 160.7 MB / 1.213 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2083/1.019, allocations: 176.6 MB / 1.385 GB, free: 6.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01288/1.032, allocations: 8.756 MB / 1.394 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/1.032, allocations: 23.88 kB / 1.394 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/1.033, allocations: 305.7 kB / 1.394 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009336/1.034, allocations: 322.4 kB / 1.395 GB, free: 13.56 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.035, allocations: 378.3 kB / 1.395 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001624/1.037, allocations: 1.16 MB / 1.396 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008902/1.038, allocations: 490.4 kB / 1.396 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005358/1.043, allocations: 2.137 MB / 1.399 GB, free: 9.402 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/1.044, allocations: 382.3 kB / 1.399 GB, free: 9.027 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/1.044, allocations: 40 kB / 1.399 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/1.044, allocations: 83.95 kB / 1.399 GB, free: 8.906 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/1.045, allocations: 263.2 kB / 1.399 GB, free: 8.648 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/1.045, allocations: 290.5 kB / 1.4 GB, free: 8.363 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009865/1.046, allocations: 0.6301 MB / 1.4 GB, free: 7.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.046, allocations: 7.938 kB / 1.4 GB, free: 7.723 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.864e-06/1.046, allocations: 0 / 1.4 GB, free: 7.723 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.603e-05/1.046, allocations: 0 / 1.4 GB, free: 7.723 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001327/1.048, allocations: 0.8411 MB / 1.401 GB, free: 6.828 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.048, allocations: 8.625 kB / 1.401 GB, free: 6.82 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/1.048, allocations: 94.52 kB / 1.401 GB, free: 6.719 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/1.048, allocations: 71.52 kB / 1.401 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/1.049, allocations: 446.5 kB / 1.402 GB, free: 6.172 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/1.049, allocations: 49.28 kB / 1.402 GB, free: 6.125 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/1.049, allocations: 52 kB / 1.402 GB, free: 6.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.05, allocations: 0.6988 MB / 1.402 GB, free: 5.293 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.05, allocations: 3.938 kB / 1.402 GB, free: 5.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/1.05, allocations: 43.8 kB / 1.402 GB, free: 5.246 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.05, allocations: 27.98 kB / 1.402 GB, free: 5.219 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/1.051, allocations: 374.1 kB / 1.403 GB, free: 4.855 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/1.054, allocations: 3.22 MB / 1.406 GB, free: 1.492 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/1.055, allocations: 218.1 kB / 1.406 GB, free: 1.188 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.055, allocations: 132.5 kB / 1.406 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/1.055, allocations: 0 / 1.406 GB, free: 1.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.055, allocations: 46.83 kB / 1.406 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/1.055, allocations: 0 / 1.406 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0008187/1.056, allocations: 253.7 kB / 1.407 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/1.056, allocations: 298.6 kB / 1.407 GB, free: 368 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/1.057, allocations: 0.6839 MB / 1.408 GB, free: 15.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/1.057, allocations: 26.11 kB / 1.408 GB, free: 15.63 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/1.057, allocations: 276.2 kB / 1.408 GB, free: 15.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/1.057, allocations: 39.72 kB / 1.408 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/1.057, allocations: 25.7 kB / 1.408 GB, free: 15.29 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.057, allocations: 366.8 kB / 1.408 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.058, allocations: 39.95 kB / 1.408 GB, free: 14.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/1.058, allocations: 101 kB / 1.408 GB, free: 14.77 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/1.058, allocations: 125 kB / 1.408 GB, free: 14.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.058, allocations: 0 / 1.408 GB, free: 14.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004282/1.058, allocations: 193.1 kB / 1.409 GB, free: 14.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.058, allocations: 11.94 kB / 1.409 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.059, allocations: 0 / 1.409 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.059, allocations: 8.188 kB / 1.409 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/1.059, allocations: 39.89 kB / 1.409 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.059, allocations: 4 kB / 1.409 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/1.059, allocations: 59.5 kB / 1.409 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/1.059, allocations: 8 kB / 1.409 GB, free: 14.3 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002426/1.059, allocations: 197.8 kB / 1.409 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/1.06, allocations: 67.56 kB / 1.409 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/1.06, allocations: 60.33 kB / 1.409 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.06, allocations: 4 kB / 1.409 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.06, allocations: 7.984 kB / 1.409 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.06, allocations: 4 kB / 1.409 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.061, allocations: 1.3 MB / 1.41 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.061, allocations: 4.188 kB / 1.41 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.061, allocations: 39.95 kB / 1.41 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.061, allocations: 4.219 kB / 1.41 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.062, allocations: 12 kB / 1.41 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.062, allocations: 7.938 kB / 1.41 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.062, allocations: 4 kB / 1.41 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/1.062, allocations: 330.8 kB / 1.411 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/1.062, allocations: 164.6 kB / 1.411 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/1.062, allocations: 0 / 1.411 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.062, allocations: 12 kB / 1.411 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/1.062, allocations: 23.8 kB / 1.411 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.062, allocations: 4 kB / 1.411 GB, free: 11.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006305/1.063, allocations: 0.4951 MB / 1.411 GB, free: 11.41 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.063, allocations: 0 / 1.411 GB, free: 11.41 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004207/1.064, allocations: 83.89 kB / 1.412 GB, free: 11.33 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.001027/1.065, allocations: 0.9083 MB / 1.412 GB, free: 10.37 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003416/1.065, allocations: 107.8 kB / 1.413 GB, free: 10.27 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.065, allocations: 192 / 1.413 GB, free: 10.27 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.065, allocations: 59.83 kB / 1.413 GB, free: 10.21 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.066, allocations: 281.5 kB / 1.413 GB, free: 9.938 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/1.072, allocations: 4.458 MB / 1.417 GB, free: 5.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.073, allocations: 0.9127 MB / 1.418 GB, free: 4.383 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003063/1.073, allocations: 104.6 kB / 1.418 GB, free: 4.277 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/1.074, allocations: 171.4 kB / 1.418 GB, free: 4.113 MB / 1.123 GB Notification: Performance of SimCode: time 8.12e-07/1.074, allocations: 0 / 1.418 GB, free: 4.113 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/1.118, allocations: 13.67 MB / 1.432 GB, free: 6.68 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/10.14, allocations: 9.766 kB / 1.432 GB, free: 6.672 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_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: 15.932988904882222]