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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007532/0.007532, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002211/0.002211, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.517/2.517, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 75.83 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2588, allocations: 162.3 MB / 1.242 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6401/0.8989, allocations: 176 MB / 1.414 GB, free: 1.074 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008764/0.9077, allocations: 8.722 MB / 1.422 GB, free: 9.996 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.9081, allocations: 25.47 kB / 1.422 GB, free: 9.984 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.9087, allocations: 295.4 kB / 1.423 GB, free: 9.727 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.9092, allocations: 291.4 kB / 1.423 GB, free: 9.492 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.91, allocations: 379.8 kB / 1.423 GB, free: 9.203 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009905/0.911, allocations: 1.14 MB / 1.424 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.9117, allocations: 0.5869 MB / 1.425 GB, free: 8.211 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.9151, allocations: 2.057 MB / 1.427 GB, free: 6.816 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.9155, allocations: 335.6 kB / 1.427 GB, free: 6.613 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.9156, allocations: 40.16 kB / 1.427 GB, free: 6.613 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.9157, allocations: 83.58 kB / 1.427 GB, free: 6.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.916, allocations: 260.6 kB / 1.428 GB, free: 6.43 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.9162, allocations: 285.8 kB / 1.428 GB, free: 6.246 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.9168, allocations: 0.6331 MB / 1.428 GB, free: 5.828 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9168, allocations: 8 kB / 1.428 GB, free: 5.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9168, allocations: 0 / 1.428 GB, free: 5.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9169, allocations: 1.125 kB / 1.428 GB, free: 5.82 MB / 1.123 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.0009165/0.9178, allocations: 0.8376 MB / 1.429 GB, free: 5.105 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.9178, allocations: 10.56 kB / 1.429 GB, free: 5.105 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.163e-05/0.9179, allocations: 93.39 kB / 1.429 GB, free: 5.023 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/0.918, allocations: 76.11 kB / 1.429 GB, free: 4.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.9186, allocations: 450.5 kB / 1.43 GB, free: 4.605 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.9186, allocations: 43.73 kB / 1.43 GB, free: 4.586 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.9187, allocations: 51.5 kB / 1.43 GB, free: 4.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.9196, allocations: 0.7078 MB / 1.431 GB, free: 4.035 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9196, allocations: 0 / 1.431 GB, free: 4.035 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.9196, allocations: 23.84 kB / 1.431 GB, free: 4.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.9197, allocations: 34.98 kB / 1.431 GB, free: 4.008 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.9202, allocations: 380.5 kB / 1.431 GB, free: 3.824 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.9225, allocations: 3.216 MB / 1.434 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.9227, allocations: 223 kB / 1.434 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.9229, allocations: 128.5 kB / 1.435 GB, free: 472 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.9229, allocations: 6.938 kB / 1.435 GB, free: 468 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.9229, allocations: 41.38 kB / 1.435 GB, free: 420 kB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.9229, allocations: 4 kB / 1.435 GB, free: 416 kB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0005678/0.9235, allocations: 250.7 kB / 1.435 GB, free: 272 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.9237, allocations: 298.5 kB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.9243, allocations: 0.6825 MB / 1.436 GB, free: 15.53 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.9244, allocations: 27.69 kB / 1.436 GB, free: 15.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.9246, allocations: 268.4 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.9246, allocations: 36.88 kB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.9246, allocations: 31.89 kB / 1.436 GB, free: 15.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9248, allocations: 370.8 kB / 1.437 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.9249, allocations: 44.83 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9251, allocations: 89.73 kB / 1.437 GB, free: 14.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.9253, allocations: 130.7 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9253, allocations: 1.375 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.9256, allocations: 193 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.9256, allocations: 5.5 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9256, allocations: 5.312 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.9257, allocations: 2.75 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.9258, allocations: 40.36 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9259, allocations: 1.406 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.926, allocations: 64.12 kB / 1.437 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.9261, allocations: 6.438 kB / 1.437 GB, free: 14.48 MB / 1.139 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.0001812/0.9263, allocations: 202.5 kB / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.9264, allocations: 68.14 kB / 1.437 GB, free: 14.28 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.9265, allocations: 65.25 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.9265, allocations: 3.969 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9265, allocations: 2.75 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9265, allocations: 2.562 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.9278, allocations: 1.299 MB / 1.439 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9278, allocations: 8.062 kB / 1.439 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.928, allocations: 43.89 kB / 1.439 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.928, allocations: 4 kB / 1.439 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.928, allocations: 6.312 kB / 1.439 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.928, allocations: 0 / 1.439 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.928, allocations: 4 kB / 1.439 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.9284, allocations: 350.6 kB / 1.439 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.9286, allocations: 152.7 kB / 1.439 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.9286, allocations: 4 kB / 1.439 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.9288, allocations: 7.984 kB / 1.439 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.9288, allocations: 16.22 kB / 1.439 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.9288, allocations: 7.984 kB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005072/0.9293, allocations: 0.499 MB / 1.44 GB, free: 11.81 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9293, allocations: 3.938 kB / 1.44 GB, free: 11.8 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003266/0.9297, allocations: 87.81 kB / 1.44 GB, free: 11.72 MB / 1.139 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.0008045/0.9305, allocations: 0.9052 MB / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.9308, allocations: 103.8 kB / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9308, allocations: 0 / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.9309, allocations: 68.52 kB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9321, allocations: 283.2 kB / 1.441 GB, free: 10.33 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.9368, allocations: 4.455 MB / 1.446 GB, free: 5.707 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.9373, allocations: 0.9127 MB / 1.446 GB, free: 4.77 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.9375, allocations: 104.6 kB / 1.446 GB, free: 4.664 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.9377, allocations: 171.4 kB / 1.447 GB, free: 4.5 MB / 1.139 GB Notification: Performance of SimCode: time 2.51e-07/0.9377, allocations: 0 / 1.447 GB, free: 4.5 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.776/2.714, allocations: 13.6 MB / 1.46 GB, free: 7.125 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/17.93, allocations: 10.72 kB / 1.46 GB, free: 7.117 MB / 1.154 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=400 --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