Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 3.984 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.242e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004472/0.004495, allocations: 4.501 MB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.006222, allocations: 2.457 MB / 0.9573 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.006297, allocations: 11.94 kB / 0.9573 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.006559, allocations: 43.73 kB / 0.9574 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.006784, allocations: 95.25 kB / 0.9575 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.007476, allocations: 0.5357 MB / 0.958 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.007668, allocations: 243.8 kB / 0.9582 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.00771, allocations: 5.812 kB / 0.9582 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.008031, allocations: 163.5 kB / 0.9584 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.008141, allocations: 79.77 kB / 0.9584 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.008162, allocations: 8 kB / 0.9585 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.008546, allocations: 323.1 kB / 0.9588 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.008626, allocations: 31.89 kB / 0.9588 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.008688, allocations: 67.83 kB / 0.9589 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.009151, allocations: 374.9 kB / 0.9592 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.009155, allocations: 4 kB / 0.9592 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.245e-06/0.009157, allocations: 7.938 kB / 0.9592 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.009163, allocations: 3.938 kB / 0.9592 GB, free: 10.52 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006285/0.009791, allocations: 437.5 kB / 0.9596 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.00983, allocations: 8.031 kB / 0.9597 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.009873, allocations: 54.73 kB / 0.9597 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.009967, allocations: 24.83 kB / 0.9597 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.01015, allocations: 149.6 kB / 0.9599 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.01016, allocations: 16.69 kB / 0.9599 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.01018, allocations: 16.38 kB / 0.9599 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.01051, allocations: 488 kB / 0.9604 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01052, allocations: 12.05 kB / 0.9604 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.01054, allocations: 11.94 kB / 0.9604 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.01056, allocations: 4 kB / 0.9604 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.01088, allocations: 423.5 kB / 0.9608 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.01166, allocations: 0.8086 MB / 0.9616 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.0119, allocations: 143.5 kB / 0.9617 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.01197, allocations: 64.81 kB / 0.9618 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.01242, allocations: 455.8 kB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.01244, allocations: 34.56 kB / 0.9623 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.01244, allocations: 0 / 0.9623 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002463/0.01269, allocations: 149.5 kB / 0.9624 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.01271, allocations: 55.34 kB / 0.9625 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.01282, allocations: 179.1 kB / 0.9626 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01283, allocations: 33.69 kB / 0.9627 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.01289, allocations: 144.2 kB / 0.9628 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.01291, allocations: 55.53 kB / 0.9628 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.01296, allocations: 57.66 kB / 0.9629 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.01303, allocations: 322.8 kB / 0.9632 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.01308, allocations: 31.98 kB / 0.9632 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.01317, allocations: 148.9 kB / 0.9634 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.01331, allocations: 193.5 kB / 0.9636 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01332, allocations: 0 / 0.9636 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002052/0.01352, allocations: 217.2 kB / 0.9638 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01354, allocations: 15.92 kB / 0.9638 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01354, allocations: 4 kB / 0.9638 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01356, allocations: 4 kB / 0.9638 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.01367, allocations: 52.39 kB / 0.9638 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.01368, allocations: 15.92 kB / 0.9639 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.141e-05/0.01374, allocations: 31.72 kB / 0.9639 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01375, allocations: 16 kB / 0.9639 GB, free: 5.328 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.804e-05/0.01383, allocations: 129.8 kB / 0.964 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.01386, allocations: 19.91 kB / 0.964 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.01405, allocations: 147 kB / 0.9642 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.01406, allocations: 7.984 kB / 0.9642 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01407, allocations: 0 / 0.9642 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01407, allocations: 3.938 kB / 0.9642 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01422, allocations: 176.6 kB / 0.9644 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01422, allocations: 4 kB / 0.9644 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.01428, allocations: 35.92 kB / 0.9644 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01428, allocations: 0 / 0.9644 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.01429, allocations: 7.984 kB / 0.9644 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01429, allocations: 0 / 0.9644 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01429, allocations: 7.875 kB / 0.9644 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.01445, allocations: 226.4 kB / 0.9646 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.01449, allocations: 31.86 kB / 0.9647 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.01451, allocations: 3.984 kB / 0.9647 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.0146, allocations: 12 kB / 0.9647 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.01462, allocations: 19.91 kB / 0.9647 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01464, allocations: 19.94 kB / 0.9647 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.01469, allocations: 120 kB / 0.9648 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01469, allocations: 0 / 0.9648 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002415/0.01493, allocations: 79.86 kB / 0.9649 GB, free: 4.219 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005388/0.01547, allocations: 0.8332 MB / 0.9657 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.01563, allocations: 111.8 kB / 0.9658 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01563, allocations: 0 / 0.9658 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.01567, allocations: 46.44 kB / 0.9659 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01595, allocations: 60.77 kB / 0.9659 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.01735, allocations: 2.016 MB / 0.9679 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.177e-05/0.01741, allocations: 103.1 kB / 0.968 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.465e-05/0.0175, allocations: 45.81 kB / 0.968 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.01756, allocations: 48.48 kB / 0.9681 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/0.01756, allocations: 3.938 kB / 0.9681 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.03501, allocations: 6.231 MB / 0.9742 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.908, allocations: 6.125 kB / 0.9742 GB, free: 10.73 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterProperties.fmu > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9931027200073]