Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.0008376/0.0008376, 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.000767/0.000767, 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.8428/0.8428, allocations: 177.1 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.647/1.647, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.758e-05, allocations: 8.891 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.569/0.569, allocations: 155.3 MB / 1.133 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00624/0.5753, allocations: 7.975 MB / 1.14 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.576, allocations: 29.5 kB / 1.14 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.5767, allocations: 316.4 kB / 1.141 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.5773, allocations: 321.4 kB / 1.141 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.5783, allocations: 430.8 kB / 1.141 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.5793, allocations: 1.139 MB / 1.143 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005827/0.5799, allocations: 444.2 kB / 1.143 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.5839, allocations: 2.257 MB / 1.145 GB, free: 400 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.5844, allocations: 314.5 kB / 1.145 GB, free: 296 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.5844, allocations: 39.66 kB / 1.146 GB, free: 296 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.5846, allocations: 81.2 kB / 1.146 GB, free: 288 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.5849, allocations: 278.4 kB / 1.146 GB, free: 176 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.5851, allocations: 189.3 kB / 1.146 GB, free: 100 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.5858, allocations: 0.6395 MB / 1.147 GB, free: 15.85 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5859, allocations: 4 kB / 1.147 GB, free: 15.85 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5859, allocations: 1.188 kB / 1.147 GB, free: 15.85 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.5859, allocations: 0 / 1.147 GB, free: 15.85 MB / 1.01 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.0009478/0.5868, allocations: 0.7483 MB / 1.147 GB, free: 15.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5869, allocations: 9.594 kB / 1.147 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.167e-05/0.587, allocations: 99.95 kB / 1.147 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.587, allocations: 75.98 kB / 1.148 GB, free: 15.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.5876, allocations: 383.5 kB / 1.148 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.5877, allocations: 39.77 kB / 1.148 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.5877, allocations: 55.2 kB / 1.148 GB, free: 14.89 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.5885, allocations: 0.6984 MB / 1.149 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5885, allocations: 5.438 kB / 1.149 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.5886, allocations: 27.08 kB / 1.149 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.5886, allocations: 31.28 kB / 1.149 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.5891, allocations: 374.2 kB / 1.149 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.5911, allocations: 3.063 MB / 1.152 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5912, allocations: 216.4 kB / 1.152 GB, free: 11.44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.5914, allocations: 126.2 kB / 1.152 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.5914, allocations: 3.938 kB / 1.152 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5914, allocations: 46.61 kB / 1.152 GB, free: 11.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.5914, allocations: 3.938 kB / 1.152 GB, free: 11.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004694/0.5919, allocations: 253.2 kB / 1.153 GB, free: 11.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.592, allocations: 295.9 kB / 1.153 GB, free: 10.83 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006679/0.5926, allocations: 0.6865 MB / 1.154 GB, free: 10.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5927, allocations: 31.39 kB / 1.154 GB, free: 10.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.5929, allocations: 269.1 kB / 1.154 GB, free: 10.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.5929, allocations: 38.55 kB / 1.154 GB, free: 10.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.5929, allocations: 31.94 kB / 1.154 GB, free: 10.25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5931, allocations: 369.5 kB / 1.154 GB, free: 9.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.5932, allocations: 33.06 kB / 1.154 GB, free: 9.906 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5933, allocations: 227.2 kB / 1.155 GB, free: 9.688 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.5935, allocations: 126.6 kB / 1.155 GB, free: 9.613 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5935, allocations: 1.094 kB / 1.155 GB, free: 9.613 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.5937, allocations: 189.4 kB / 1.155 GB, free: 9.523 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5937, allocations: 7.109 kB / 1.155 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5937, allocations: 9.125 kB / 1.155 GB, free: 9.516 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5937, allocations: 2.5 kB / 1.155 GB, free: 9.516 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5939, allocations: 42.42 kB / 1.155 GB, free: 9.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5939, allocations: 7.312 kB / 1.155 GB, free: 9.508 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5941, allocations: 60.92 kB / 1.155 GB, free: 9.469 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.5941, allocations: 6.578 kB / 1.155 GB, free: 9.469 MB / 1.01 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.0001634/0.5942, allocations: 207.9 kB / 1.155 GB, free: 9.316 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5944, allocations: 65.48 kB / 1.155 GB, free: 9.281 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.553e-05/0.5944, allocations: 58.75 kB / 1.155 GB, free: 9.254 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5944, allocations: 4.5 kB / 1.155 GB, free: 9.254 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5944, allocations: 8.844 kB / 1.155 GB, free: 9.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5944, allocations: 3.641 kB / 1.155 GB, free: 9.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5955, allocations: 1.238 MB / 1.157 GB, free: 8.191 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5955, allocations: 3.094 kB / 1.157 GB, free: 8.191 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5956, allocations: 54.25 kB / 1.157 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5956, allocations: 3.469 kB / 1.157 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5956, allocations: 3.828 kB / 1.157 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.5956, allocations: 3.016 kB / 1.157 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5956, allocations: 6.391 kB / 1.157 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.5959, allocations: 340.9 kB / 1.157 GB, free: 7.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.596, allocations: 71.75 kB / 1.157 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.596, allocations: 7.875 kB / 1.157 GB, free: 7.867 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.5961, allocations: 12.09 kB / 1.157 GB, free: 7.863 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.5961, allocations: 13.55 kB / 1.157 GB, free: 7.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5961, allocations: 5.594 kB / 1.157 GB, free: 7.859 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004525/0.5966, allocations: 0.4948 MB / 1.158 GB, free: 7.656 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5966, allocations: 0 / 1.158 GB, free: 7.656 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003167/0.5969, allocations: 86.59 kB / 1.158 GB, free: 7.645 MB / 1.01 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.000568/0.5975, allocations: 0.894 MB / 1.159 GB, free: 6.844 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5977, allocations: 108.7 kB / 1.159 GB, free: 6.816 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5977, allocations: 0 / 1.159 GB, free: 6.816 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.5978, allocations: 63.66 kB / 1.159 GB, free: 6.797 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.5986, allocations: 276.8 kB / 1.159 GB, free: 6.727 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.6029, allocations: 4.471 MB / 1.163 GB, free: 4.324 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.6032, allocations: 306.6 kB / 1.164 GB, free: 4.211 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.6035, allocations: 114.9 kB / 1.164 GB, free: 4.191 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.6036, allocations: 170.1 kB / 1.164 GB, free: 4.066 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.6037, allocations: 0 / 1.164 GB, free: 4.066 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.6332, allocations: 15.27 MB / 1.179 GB, free: 1.523 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/7.25, allocations: 2.312 kB / 1.179 GB, free: 1.523 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.11036472208798]