Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001354/0.001354, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.00137/0.00137, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 75.89 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7667, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.192/0.9587, allocations: 176.8 MB / 1.444 GB, free: 3.109 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009642/0.9683, allocations: 8.834 MB / 1.453 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.9688, allocations: 19.88 kB / 1.453 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.9695, allocations: 309.7 kB / 1.453 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.9701, allocations: 318.4 kB / 1.453 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.971, allocations: 394.5 kB / 1.454 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.9721, allocations: 1.156 MB / 1.455 GB, free: 8.906 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.9727, allocations: 442.3 kB / 1.455 GB, free: 8.469 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.9768, allocations: 2.14 MB / 1.457 GB, free: 6.32 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.9772, allocations: 374.4 kB / 1.458 GB, free: 5.953 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.9773, allocations: 44 kB / 1.458 GB, free: 5.91 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.9775, allocations: 83.89 kB / 1.458 GB, free: 5.828 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.9777, allocations: 267.2 kB / 1.458 GB, free: 5.566 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.978, allocations: 286.5 kB / 1.458 GB, free: 5.285 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.9786, allocations: 0.6262 MB / 1.459 GB, free: 4.656 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9786, allocations: 4 kB / 1.459 GB, free: 4.652 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9786, allocations: 4 kB / 1.459 GB, free: 4.648 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9786, allocations: 3.938 kB / 1.459 GB, free: 4.645 MB / 1.139 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.0009763/0.9796, allocations: 0.8334 MB / 1.46 GB, free: 3.758 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.9797, allocations: 8.031 kB / 1.46 GB, free: 3.75 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.828e-05/0.9798, allocations: 98.45 kB / 1.46 GB, free: 3.645 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.9798, allocations: 71.52 kB / 1.46 GB, free: 3.574 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.9805, allocations: 446.5 kB / 1.46 GB, free: 3.098 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.9805, allocations: 45.3 kB / 1.46 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.9806, allocations: 52 kB / 1.46 GB, free: 3.004 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.9815, allocations: 0.6949 MB / 1.461 GB, free: 2.227 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.9815, allocations: 4 kB / 1.461 GB, free: 2.223 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.9816, allocations: 31.92 kB / 1.461 GB, free: 2.191 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.9816, allocations: 35.86 kB / 1.461 GB, free: 2.156 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.9822, allocations: 375.4 kB / 1.462 GB, free: 1.789 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.9847, allocations: 3.216 MB / 1.465 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.9849, allocations: 222.1 kB / 1.465 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.9851, allocations: 128.6 kB / 1.465 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.9852, allocations: 3.938 kB / 1.465 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.9852, allocations: 50.98 kB / 1.465 GB, free: 13.9 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9852, allocations: 0 / 1.465 GB, free: 13.9 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006652/0.9858, allocations: 258 kB / 1.465 GB, free: 13.64 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.986, allocations: 290.7 kB / 1.466 GB, free: 13.29 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.9867, allocations: 0.6877 MB / 1.466 GB, free: 12.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9867, allocations: 30.05 kB / 1.466 GB, free: 12.56 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.9869, allocations: 280.2 kB / 1.467 GB, free: 12.28 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.987, allocations: 31.7 kB / 1.467 GB, free: 12.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.987, allocations: 29.7 kB / 1.467 GB, free: 12.21 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9872, allocations: 366.8 kB / 1.467 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9873, allocations: 39.95 kB / 1.467 GB, free: 11.81 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.9875, allocations: 101 kB / 1.467 GB, free: 11.69 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.9877, allocations: 129 kB / 1.467 GB, free: 11.55 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.9877, allocations: 0 / 1.467 GB, free: 11.55 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003454/0.9881, allocations: 189.1 kB / 1.467 GB, free: 11.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9881, allocations: 11.94 kB / 1.467 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9881, allocations: 3.984 kB / 1.467 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9881, allocations: 4.188 kB / 1.467 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.9883, allocations: 35.97 kB / 1.467 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9883, allocations: 7.984 kB / 1.467 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.9885, allocations: 55.52 kB / 1.468 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.9885, allocations: 11.98 kB / 1.468 GB, free: 11.23 MB / 1.154 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.0001909/0.9887, allocations: 197.7 kB / 1.468 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.9889, allocations: 67.56 kB / 1.468 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.989, allocations: 64.31 kB / 1.468 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.989, allocations: 4 kB / 1.468 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.989, allocations: 4 kB / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.989, allocations: 0 / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.9903, allocations: 1.301 MB / 1.469 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9903, allocations: 4 kB / 1.469 GB, free: 9.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.9905, allocations: 43.89 kB / 1.469 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.9905, allocations: 0 / 1.469 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.9905, allocations: 4.281 kB / 1.469 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9905, allocations: 8 kB / 1.469 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9905, allocations: 7.938 kB / 1.469 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.9909, allocations: 334.7 kB / 1.47 GB, free: 9.055 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9911, allocations: 156.7 kB / 1.47 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.9911, allocations: 8 kB / 1.47 GB, free: 8.875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.9913, allocations: 15.98 kB / 1.47 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.9913, allocations: 11.94 kB / 1.47 GB, free: 8.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.9913, allocations: 4 kB / 1.47 GB, free: 8.844 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005342/0.9919, allocations: 0.5067 MB / 1.47 GB, free: 8.34 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.9919, allocations: 0 / 1.47 GB, free: 8.34 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003536/0.9922, allocations: 83.89 kB / 1.47 GB, free: 8.258 MB / 1.154 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.0008434/0.9931, allocations: 0.8972 MB / 1.471 GB, free: 7.309 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.9934, allocations: 107.8 kB / 1.471 GB, free: 7.203 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9934, allocations: 3.938 kB / 1.471 GB, free: 7.199 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.9935, allocations: 59.89 kB / 1.471 GB, free: 7.141 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.9947, allocations: 282.5 kB / 1.472 GB, free: 6.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.9998, allocations: 4.462 MB / 1.476 GB, free: 2.25 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/1, allocations: 0.9089 MB / 1.477 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002187/1, allocations: 112.6 kB / 1.477 GB, free: 1.203 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.001, allocations: 167.4 kB / 1.477 GB, free: 1.039 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/1.001, allocations: 0 / 1.477 GB, free: 1.039 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/1.039, allocations: 13.64 MB / 1.49 GB, free: 3.617 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.823, allocations: 11.92 kB / 1.49 GB, free: 3.605 MB / 1.17 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.11242775699975]