Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 193 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.81 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2404, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1654/0.4058, allocations: 173.7 MB / 1.222 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008774/0.4146, allocations: 8.694 MB / 1.23 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.4151, allocations: 19.88 kB / 1.23 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.4158, allocations: 238.4 kB / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.4164, allocations: 286.7 kB / 1.231 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.4172, allocations: 346.6 kB / 1.231 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.4187, allocations: 1.62 MB / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.4193, allocations: 0.4928 MB / 1.233 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.4233, allocations: 1.926 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.4237, allocations: 386.3 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.4238, allocations: 28 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.424, allocations: 63.95 kB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.4243, allocations: 251.3 kB / 1.236 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.4245, allocations: 270.5 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.4251, allocations: 0.5956 MB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4251, allocations: 0 / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4251, allocations: 0 / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4251, allocations: 0 / 1.237 GB, free: 10.62 MB / 0.9981 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.0009744/0.4261, allocations: 0.8263 MB / 1.238 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4262, allocations: 15.91 kB / 1.238 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.381e-05/0.4263, allocations: 98.5 kB / 1.238 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.4264, allocations: 67.19 kB / 1.238 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.4269, allocations: 418.1 kB / 1.238 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.4269, allocations: 41.31 kB / 1.238 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.427, allocations: 55.98 kB / 1.238 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.4279, allocations: 0.6988 MB / 1.239 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.428, allocations: 3.938 kB / 1.239 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.428, allocations: 31.92 kB / 1.239 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.4281, allocations: 27.98 kB / 1.239 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/0.4287, allocations: 383.3 kB / 1.239 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.4311, allocations: 3.219 MB / 1.242 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.4313, allocations: 222.1 kB / 1.243 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4315, allocations: 128.5 kB / 1.243 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4316, allocations: 3.984 kB / 1.243 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4316, allocations: 46.5 kB / 1.243 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4316, allocations: 0 / 1.243 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.000686/0.4323, allocations: 253.7 kB / 1.243 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4324, allocations: 290.8 kB / 1.243 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.4332, allocations: 0.6877 MB / 1.244 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4332, allocations: 25.7 kB / 1.244 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.4334, allocations: 272.1 kB / 1.244 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4334, allocations: 31.55 kB / 1.244 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.4335, allocations: 29.62 kB / 1.244 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4337, allocations: 374.8 kB / 1.245 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4338, allocations: 39.91 kB / 1.245 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.4339, allocations: 97.09 kB / 1.245 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.4342, allocations: 121 kB / 1.245 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4342, allocations: 0 / 1.245 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003306/0.4345, allocations: 192.8 kB / 1.245 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4346, allocations: 11.94 kB / 1.245 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4346, allocations: 0 / 1.245 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4346, allocations: 4 kB / 1.245 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.4348, allocations: 39.89 kB / 1.245 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4348, allocations: 4.188 kB / 1.245 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.435, allocations: 63.27 kB / 1.245 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4351, allocations: 12.19 kB / 1.245 GB, free: 1.242 MB / 0.9981 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.000179/0.4353, allocations: 198 kB / 1.245 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4355, allocations: 63.22 kB / 1.246 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.4356, allocations: 64.27 kB / 1.246 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4356, allocations: 7.984 kB / 1.246 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.4356, allocations: 8 kB / 1.246 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4356, allocations: 3.938 kB / 1.246 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4258/0.8614, allocations: 1.293 MB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8615, allocations: 5.406 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.8617, allocations: 40.64 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.8617, allocations: 2.438 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.8617, allocations: 9.062 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.8617, allocations: 3.391 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8617, allocations: 7.484 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.8621, allocations: 328.2 kB / 1.247 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.8623, allocations: 150.7 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.8623, allocations: 11.56 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.8625, allocations: 17.97 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.8626, allocations: 15.66 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.8626, allocations: 5.625 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005441/0.8631, allocations: 0.493 MB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8632, allocations: 4.094 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004011/0.8636, allocations: 87.77 kB / 1.248 GB, free: 195.5 MB / 0.9981 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.0006765/0.8642, allocations: 0.9019 MB / 1.249 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.8645, allocations: 99.91 kB / 1.249 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8646, allocations: 4.781 kB / 1.249 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.8647, allocations: 59.03 kB / 1.249 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.866, allocations: 270.1 kB / 1.249 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.871, allocations: 4.674 MB / 1.254 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.8714, allocations: 0.9064 MB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003689/0.8717, allocations: 104.5 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.8719, allocations: 172.2 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.872, allocations: 3.844 kB / 1.255 GB, free: 192 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/0.9532, allocations: 12.98 MB / 1.268 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.9534, allocations: 247.6 kB / 1.268 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.887, allocations: 3.938 kB / 1.268 GB, free: 189.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches