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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006953/0.006952, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001733/0.001733, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 76.09 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3033, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.8476/1.151, allocations: 176 MB / 1.379 GB, free: 10.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01114/1.162, allocations: 8.714 MB / 1.388 GB, free: 3.887 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/1.163, allocations: 20.44 kB / 1.388 GB, free: 3.879 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008787/1.164, allocations: 303.7 kB / 1.388 GB, free: 3.613 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000853/1.165, allocations: 302.5 kB / 1.388 GB, free: 3.371 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/1.166, allocations: 374.4 kB / 1.389 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001527/1.168, allocations: 1.154 MB / 1.39 GB, free: 2.422 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/1.169, allocations: 0.5816 MB / 1.39 GB, free: 2.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/1.174, allocations: 2.073 MB / 1.392 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/1.175, allocations: 346 kB / 1.393 GB, free: 488 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/1.175, allocations: 40.47 kB / 1.393 GB, free: 488 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/1.175, allocations: 83.64 kB / 1.393 GB, free: 464 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/1.175, allocations: 256.4 kB / 1.393 GB, free: 304 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/1.176, allocations: 285.7 kB / 1.393 GB, free: 116 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008405/1.177, allocations: 0.6325 MB / 1.394 GB, free: 15.69 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.177, allocations: 1.25 kB / 1.394 GB, free: 15.69 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.164e-06/1.177, allocations: 4 kB / 1.394 GB, free: 15.69 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.177, allocations: 0 / 1.394 GB, free: 15.69 MB / 1.092 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.001036/1.178, allocations: 0.8147 MB / 1.395 GB, free: 15 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.178, allocations: 10.44 kB / 1.395 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/1.178, allocations: 99 kB / 1.395 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.178, allocations: 72.06 kB / 1.395 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/1.179, allocations: 449.3 kB / 1.395 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/1.179, allocations: 46.75 kB / 1.395 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/1.179, allocations: 56.28 kB / 1.395 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.18, allocations: 0.6986 MB / 1.396 GB, free: 13.92 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/1.18, allocations: 5.125 kB / 1.396 GB, free: 13.92 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/1.18, allocations: 27.39 kB / 1.396 GB, free: 13.9 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/1.18, allocations: 33.45 kB / 1.396 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/1.181, allocations: 372.2 kB / 1.396 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/1.183, allocations: 3.211 MB / 1.4 GB, free: 10.75 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.183, allocations: 219.6 kB / 1.4 GB, free: 10.47 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.184, allocations: 127.3 kB / 1.4 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/1.184, allocations: 10.59 kB / 1.4 GB, free: 10.35 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.184, allocations: 46.39 kB / 1.4 GB, free: 10.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.184, allocations: 0 / 1.4 GB, free: 10.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006849/1.184, allocations: 249.4 kB / 1.4 GB, free: 10.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.185, allocations: 294.6 kB / 1.401 GB, free: 9.805 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/1.185, allocations: 0.6827 MB / 1.401 GB, free: 9.426 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.185, allocations: 32.31 kB / 1.401 GB, free: 9.391 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/1.185, allocations: 268.5 kB / 1.401 GB, free: 9.156 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.186, allocations: 35.58 kB / 1.402 GB, free: 9.125 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/1.186, allocations: 29.61 kB / 1.402 GB, free: 9.102 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.186, allocations: 365.6 kB / 1.402 GB, free: 8.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.186, allocations: 45.14 kB / 1.402 GB, free: 8.727 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/1.186, allocations: 90.86 kB / 1.402 GB, free: 8.656 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/1.186, allocations: 131.2 kB / 1.402 GB, free: 8.559 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.186, allocations: 0 / 1.402 GB, free: 8.559 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003378/1.187, allocations: 188.7 kB / 1.402 GB, free: 8.449 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.187, allocations: 6.75 kB / 1.402 GB, free: 8.449 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.187, allocations: 10.55 kB / 1.402 GB, free: 8.441 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.187, allocations: 6.281 kB / 1.402 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/1.187, allocations: 34.16 kB / 1.402 GB, free: 8.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.187, allocations: 5.453 kB / 1.402 GB, free: 8.426 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.187, allocations: 56.91 kB / 1.402 GB, free: 8.387 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/1.187, allocations: 10.11 kB / 1.402 GB, free: 8.383 MB / 1.092 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.0001934/1.187, allocations: 201.7 kB / 1.403 GB, free: 8.219 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.188, allocations: 56.25 kB / 1.403 GB, free: 8.191 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/1.188, allocations: 69.06 kB / 1.403 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.188, allocations: 4.344 kB / 1.403 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.188, allocations: 2.938 kB / 1.403 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.188, allocations: 3.531 kB / 1.403 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/1.189, allocations: 1.298 MB / 1.404 GB, free: 6.934 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.189, allocations: 2.578 kB / 1.404 GB, free: 6.934 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/1.189, allocations: 52.3 kB / 1.404 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/1.189, allocations: 3.438 kB / 1.404 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.189, allocations: 2.406 kB / 1.404 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.189, allocations: 6.5 kB / 1.404 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.189, allocations: 3.469 kB / 1.404 GB, free: 6.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/1.19, allocations: 349.5 kB / 1.404 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.19, allocations: 148.9 kB / 1.405 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/1.19, allocations: 3.562 kB / 1.405 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/1.19, allocations: 9.703 kB / 1.405 GB, free: 6.461 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/1.19, allocations: 12.66 kB / 1.405 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.19, allocations: 5.688 kB / 1.405 GB, free: 6.453 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005722/1.191, allocations: 0.4975 MB / 1.405 GB, free: 6.172 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 4 kB / 1.405 GB, free: 6.168 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003888/1.191, allocations: 81.19 kB / 1.405 GB, free: 6.16 MB / 1.092 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.0008506/1.192, allocations: 0.9187 MB / 1.406 GB, free: 5.309 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002959/1.192, allocations: 101.2 kB / 1.406 GB, free: 5.266 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.192, allocations: 2.688 kB / 1.406 GB, free: 5.266 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.192, allocations: 68.27 kB / 1.406 GB, free: 5.23 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.194, allocations: 279.5 kB / 1.407 GB, free: 5.094 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/1.199, allocations: 4.428 MB / 1.411 GB, free: 2.234 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/1.199, allocations: 0.9095 MB / 1.412 GB, free: 1.426 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003075/1.199, allocations: 99.91 kB / 1.412 GB, free: 1.391 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.2, allocations: 168.5 kB / 1.412 GB, free: 1.25 MB / 1.092 GB Notification: Performance of SimCode: time 9.82e-07/1.2, allocations: 0 / 1.412 GB, free: 1.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/1.233, allocations: 13.82 MB / 1.425 GB, free: 6.941 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/9.639, allocations: 20.38 kB / 1.425 GB, free: 6.926 MB / 1.107 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