Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_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.001503/0.001503, 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.00175/0.00175, allocations: 196.3 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 71.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5437, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1688/0.7126, allocations: 173.7 MB / 1.186 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009528/0.7221, allocations: 8.701 MB / 1.195 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.7228, allocations: 23.81 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.7235, allocations: 234.4 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.7243, allocations: 306.6 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.7252, allocations: 323.2 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.7268, allocations: 1.62 MB / 1.197 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.7275, allocations: 0.5123 MB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.7316, allocations: 1.927 MB / 1.2 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.7321, allocations: 374.3 kB / 1.2 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.7322, allocations: 28 kB / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.7324, allocations: 63.97 kB / 1.2 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.7326, allocations: 251.3 kB / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.7329, allocations: 262.6 kB / 1.201 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.7335, allocations: 0.5995 MB / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7335, allocations: 0 / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.81e-07/0.7336, allocations: 3.938 kB / 1.201 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7336, allocations: 0 / 1.201 GB, free: 5.184 MB / 0.9512 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.0009865/0.7346, allocations: 0.8185 MB / 1.202 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7346, allocations: 19.97 kB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.7347, allocations: 94.52 kB / 1.202 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.7348, allocations: 67.19 kB / 1.202 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.7353, allocations: 414.1 kB / 1.203 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.7354, allocations: 41.3 kB / 1.203 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.7354, allocations: 52 kB / 1.203 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/0.7364, allocations: 0.7027 MB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7365, allocations: 7.984 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.7365, allocations: 23.94 kB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.7366, allocations: 35.92 kB / 1.203 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.7372, allocations: 371.4 kB / 1.204 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.7397, allocations: 3.223 MB / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.7399, allocations: 230.2 kB / 1.207 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.7401, allocations: 120.5 kB / 1.207 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.7402, allocations: 11.94 kB / 1.207 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.7402, allocations: 42.5 kB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.7402, allocations: 4 kB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006772/0.7409, allocations: 249.7 kB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.741, allocations: 298.7 kB / 1.208 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.7418, allocations: 0.6839 MB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.7418, allocations: 29.7 kB / 1.209 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.742, allocations: 264.2 kB / 1.209 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.742, allocations: 31.55 kB / 1.209 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.7421, allocations: 33.7 kB / 1.209 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7423, allocations: 366.8 kB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.7424, allocations: 39.95 kB / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.7425, allocations: 89.11 kB / 1.209 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.7428, allocations: 133 kB / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7428, allocations: 64 / 1.209 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003579/0.7432, allocations: 196.9 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7432, allocations: 7.938 kB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7432, allocations: 4 kB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7432, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.7435, allocations: 40.14 kB / 1.21 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.7435, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.7437, allocations: 75.22 kB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.7437, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9669 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.000197/0.7439, allocations: 205.7 kB / 1.21 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.7442, allocations: 63.27 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.7442, allocations: 56.55 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.7443, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7443, allocations: 7.938 kB / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7443, allocations: 0 / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.7456, allocations: 1.305 MB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7456, allocations: 3.938 kB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.7459, allocations: 39.95 kB / 1.211 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.7459, allocations: 7.984 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.7459, allocations: 8 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.7459, allocations: 7.984 kB / 1.211 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.7459, allocations: 3.938 kB / 1.211 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.7463, allocations: 334.5 kB / 1.212 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.7464, allocations: 152.3 kB / 1.212 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.7465, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.7467, allocations: 15.98 kB / 1.212 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.7468, allocations: 19.92 kB / 1.212 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7468, allocations: 7.938 kB / 1.212 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005427/0.7473, allocations: 0.4951 MB / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7473, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003857/0.7477, allocations: 83.89 kB / 1.213 GB, free: 8.844 MB / 0.9669 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.0008207/0.7485, allocations: 0.9077 MB / 1.213 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.7488, allocations: 100.1 kB / 1.213 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7489, allocations: 4.062 kB / 1.213 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.749, allocations: 63.83 kB / 1.214 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.7504, allocations: 270.2 kB / 1.214 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.7559, allocations: 4.685 MB / 1.218 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.7563, allocations: 0.9052 MB / 1.219 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.7566, allocations: 108.6 kB / 1.219 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.7568, allocations: 163.4 kB / 1.22 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.7568, allocations: 4 kB / 1.22 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/1.873, allocations: 12.96 MB / 1.232 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/1.873, allocations: 247.5 kB / 1.232 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/3.704, allocations: 0 / 1.232 GB, free: 4.43 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches