Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_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.001101/0.001101, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008869/0.008869, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5582, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1628/0.721, allocations: 171.5 MB / 1.123 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.7312, allocations: 8.587 MB / 1.131 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.7318, allocations: 15.88 kB / 1.131 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.7325, allocations: 234.4 kB / 1.131 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.7334, allocations: 298.6 kB / 1.132 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.7343, allocations: 338.7 kB / 1.132 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.7361, allocations: 1.616 MB / 1.133 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.7369, allocations: 498.7 kB / 1.134 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.7409, allocations: 1.911 MB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.7414, allocations: 354.4 kB / 1.136 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.7415, allocations: 20 kB / 1.136 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.7417, allocations: 55.91 kB / 1.136 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.7419, allocations: 227.4 kB / 1.136 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.7422, allocations: 280.2 kB / 1.137 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.7428, allocations: 0.5955 MB / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7428, allocations: 0 / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7428, allocations: 3.938 kB / 1.137 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.7428, allocations: 0 / 1.137 GB, free: 4.246 MB / 0.8887 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.0009179/0.7437, allocations: 0.7056 MB / 1.138 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7438, allocations: 8.031 kB / 1.138 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.7439, allocations: 102.4 kB / 1.138 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.744, allocations: 67.25 kB / 1.138 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.7445, allocations: 418.1 kB / 1.138 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.7446, allocations: 49.23 kB / 1.139 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.7446, allocations: 48 kB / 1.139 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.7456, allocations: 0.7105 MB / 1.139 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.7457, allocations: 3.938 kB / 1.139 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.7457, allocations: 27.92 kB / 1.139 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.7458, allocations: 27.98 kB / 1.139 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.7464, allocations: 395.4 kB / 1.14 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.7489, allocations: 3.223 MB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.7492, allocations: 226.1 kB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.7494, allocations: 136.9 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.7494, allocations: 4 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.7495, allocations: 50.44 kB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.7495, allocations: 3.938 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007176/0.7502, allocations: 261.8 kB / 1.144 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.7503, allocations: 302.7 kB / 1.144 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.7511, allocations: 0.6799 MB / 1.144 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.7511, allocations: 29.7 kB / 1.144 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.7513, allocations: 264.2 kB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.7514, allocations: 39.53 kB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.7514, allocations: 13.72 kB / 1.145 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.7516, allocations: 370.8 kB / 1.145 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.7517, allocations: 39.97 kB / 1.145 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.7519, allocations: 109 kB / 1.145 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.7522, allocations: 137 kB / 1.145 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7522, allocations: 0 / 1.145 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003802/0.7526, allocations: 200.9 kB / 1.146 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7526, allocations: 11.94 kB / 1.146 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7526, allocations: 0 / 1.146 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7526, allocations: 4 kB / 1.146 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.7529, allocations: 63.91 kB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7529, allocations: 0 / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.7531, allocations: 59.36 kB / 1.146 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.7531, allocations: 8 kB / 1.146 GB, free: 10.91 MB / 0.9044 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.0002032/0.7534, allocations: 201.8 kB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.7536, allocations: 63.19 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.7537, allocations: 60.52 kB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7537, allocations: 4 kB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.7537, allocations: 7.938 kB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.7537, allocations: 7.984 kB / 1.146 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.7551, allocations: 1.3 MB / 1.147 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7551, allocations: 4 kB / 1.147 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.7553, allocations: 56.23 kB / 1.147 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7553, allocations: 4 kB / 1.147 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7553, allocations: 7.938 kB / 1.147 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.7553, allocations: 0 / 1.147 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7553, allocations: 7.938 kB / 1.147 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.7558, allocations: 338.5 kB / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.7559, allocations: 148.3 kB / 1.148 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.756, allocations: 11.92 kB / 1.148 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.7562, allocations: 19.98 kB / 1.148 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.7562, allocations: 23.86 kB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7563, allocations: 4 kB / 1.148 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005683/0.7568, allocations: 0.4951 MB / 1.148 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7568, allocations: 0 / 1.148 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003853/0.7572, allocations: 79.94 kB / 1.149 GB, free: 7.914 MB / 0.9044 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.0008699/0.7581, allocations: 0.9148 MB / 1.149 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.7584, allocations: 119.7 kB / 1.15 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7585, allocations: 4 kB / 1.15 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.7586, allocations: 64.52 kB / 1.15 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.7602, allocations: 277.6 kB / 1.15 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.7659, allocations: 4.717 MB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.7665, allocations: 0.9013 MB / 1.155 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.7667, allocations: 108.6 kB / 1.155 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.767, allocations: 171.4 kB / 1.156 GB, free: 428 kB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.767, allocations: 11.88 kB / 1.156 GB, free: 416 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/0.9156, allocations: 12.79 MB / 1.168 GB, free: 3.867 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.9159, allocations: 246.2 kB / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.894, allocations: 3.25 kB / 1.168 GB, free: 3.605 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches