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.0008843/0.0008843, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005714/0.005714, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002753, allocations: 7.375 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2281, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1526/0.3807, allocations: 171.5 MB / 1.226 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008529/0.3893, allocations: 8.594 MB / 1.235 GB, free: 200 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.3898, allocations: 19.81 kB / 1.235 GB, free: 180 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.3903, allocations: 230.5 kB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.391, allocations: 298.6 kB / 1.235 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.3918, allocations: 326 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3932, allocations: 1.612 MB / 1.237 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006677/0.3939, allocations: 0.491 MB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.3974, allocations: 1.907 MB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.3978, allocations: 354.4 kB / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.3979, allocations: 20 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3981, allocations: 55.95 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.3983, allocations: 239.3 kB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.3985, allocations: 276.3 kB / 1.24 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.3991, allocations: 0.5954 MB / 1.241 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3991, allocations: 0 / 1.241 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3991, allocations: 0 / 1.241 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.3991, allocations: 0 / 1.241 GB, free: 9.785 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.0008154/0.3999, allocations: 0.7095 MB / 1.242 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4, allocations: 11.97 kB / 1.242 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.926e-05/0.4001, allocations: 106.4 kB / 1.242 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.4002, allocations: 63.25 kB / 1.242 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.4006, allocations: 418.1 kB / 1.242 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4007, allocations: 41.31 kB / 1.242 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.4007, allocations: 51.98 kB / 1.242 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.4017, allocations: 0.7105 MB / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4017, allocations: 0 / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.4017, allocations: 27.94 kB / 1.243 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/0.4018, allocations: 35.92 kB / 1.243 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.4024, allocations: 387.4 kB / 1.243 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.4047, allocations: 3.231 MB / 1.246 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.4049, allocations: 226.1 kB / 1.247 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4051, allocations: 132.6 kB / 1.247 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4052, allocations: 7.938 kB / 1.247 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4052, allocations: 50.44 kB / 1.247 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4052, allocations: 0 / 1.247 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006426/0.4058, allocations: 269.6 kB / 1.247 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.406, allocations: 290.7 kB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.4066, allocations: 0.6838 MB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4067, allocations: 33.7 kB / 1.248 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4069, allocations: 272.3 kB / 1.248 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.4069, allocations: 35.45 kB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4069, allocations: 13.72 kB / 1.248 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4071, allocations: 370.8 kB / 1.249 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.4072, allocations: 35.97 kB / 1.249 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.4073, allocations: 105.1 kB / 1.249 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.4076, allocations: 141 kB / 1.249 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4076, allocations: 0 / 1.249 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003268/0.4079, allocations: 200.8 kB / 1.249 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4079, allocations: 7.938 kB / 1.249 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.408, allocations: 0 / 1.249 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.408, allocations: 4 kB / 1.249 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4082, allocations: 56.14 kB / 1.249 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4082, allocations: 4 kB / 1.249 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.4084, allocations: 59.27 kB / 1.249 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.4084, allocations: 12 kB / 1.249 GB, free: 448 kB / 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.0001788/0.4086, allocations: 207.7 kB / 1.25 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.4088, allocations: 59.28 kB / 1.25 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.4089, allocations: 60.33 kB / 1.25 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4089, allocations: 0 / 1.25 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4089, allocations: 4.219 kB / 1.25 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4089, allocations: 7.984 kB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4133/0.8223, allocations: 1.294 MB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8223, allocations: 7.031 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.8225, allocations: 54.86 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.8226, allocations: 4.016 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8226, allocations: 5.375 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8226, allocations: 6.438 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8226, allocations: 6.219 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.823, allocations: 344.4 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.8231, allocations: 152.5 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.8232, allocations: 6.469 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.8234, allocations: 17.77 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.8234, allocations: 19.09 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.8234, allocations: 5.125 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005569/0.824, allocations: 0.5014 MB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.824, allocations: 0 / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003837/0.8244, allocations: 81.88 kB / 1.252 GB, free: 192.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.0007844/0.8252, allocations: 0.9115 MB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.8255, allocations: 118.8 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8255, allocations: 1 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.8257, allocations: 65.73 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.8272, allocations: 276.6 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.8318, allocations: 4.713 MB / 1.258 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.832, allocations: 0.911 MB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.8323, allocations: 104.9 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.8324, allocations: 167.8 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.8324, allocations: 3.938 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.8754, allocations: 12.81 MB / 1.272 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.8757, allocations: 256.5 kB / 1.272 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.794, allocations: 7.562 kB / 1.272 GB, free: 186.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