Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001282/0.001282, allocations: 115.9 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001343/0.001343, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8656, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004301/0.8699, allocations: 4.818 MB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.8719, allocations: 2.715 MB / 1.329 GB, free: 19.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.8719, allocations: 1.156 kB / 1.329 GB, free: 19.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.8722, allocations: 48.8 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.8724, allocations: 95.16 kB / 1.329 GB, free: 19.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.8734, allocations: 0.5198 MB / 1.33 GB, free: 18.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.8736, allocations: 235.2 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.8737, allocations: 10.75 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.8739, allocations: 121.3 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.874, allocations: 94.78 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.8741, allocations: 7.812 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006374/0.8747, allocations: 390 kB / 1.33 GB, free: 18.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.8748, allocations: 36.89 kB / 1.33 GB, free: 18.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.8748, allocations: 78.86 kB / 1.33 GB, free: 18.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.8754, allocations: 365.3 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8754, allocations: 4.719 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8754, allocations: 0.5156 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.8754, allocations: 0.5312 kB / 1.331 GB, free: 18.43 MB / 1.061 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.0006844/0.8761, allocations: 0.5145 MB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.8761, allocations: 17.97 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.8761, allocations: 4.297 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.8762, allocations: 48.83 kB / 1.331 GB, free: 17.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.8763, allocations: 23.91 kB / 1.331 GB, free: 17.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.8765, allocations: 217.4 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8766, allocations: 10.73 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.8766, allocations: 18.41 kB / 1.332 GB, free: 17.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.877, allocations: 258.2 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.877, allocations: 1.438 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.877, allocations: 6.781 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.877, allocations: 6.703 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.8776, allocations: 424.6 kB / 1.332 GB, free: 17.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.8786, allocations: 0.9498 MB / 1.333 GB, free: 16.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.8788, allocations: 149.5 kB / 1.333 GB, free: 16.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8789, allocations: 56.61 kB / 1.333 GB, free: 16.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009024/0.8798, allocations: 1.828 MB / 1.335 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.8799, allocations: 37.58 kB / 1.335 GB, free: 14.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.8799, allocations: 1.125 kB / 1.335 GB, free: 14.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003144/0.8802, allocations: 148.5 kB / 1.335 GB, free: 14.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.8802, allocations: 58.12 kB / 1.335 GB, free: 14.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8803, allocations: 172.8 kB / 1.336 GB, free: 14.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8803, allocations: 31.56 kB / 1.336 GB, free: 14.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.8804, allocations: 137.8 kB / 1.336 GB, free: 14.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.8804, allocations: 55.47 kB / 1.336 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.8805, allocations: 52.39 kB / 1.336 GB, free: 13.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.8805, allocations: 326.9 kB / 1.336 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.8806, allocations: 39.77 kB / 1.336 GB, free: 13.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.8807, allocations: 135.9 kB / 1.336 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.8809, allocations: 204.5 kB / 1.337 GB, free: 13.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8809, allocations: 2.938 kB / 1.337 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003121/0.8812, allocations: 222.4 kB / 1.337 GB, free: 13.17 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8812, allocations: 7.422 kB / 1.337 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8812, allocations: 3.344 kB / 1.337 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8812, allocations: 9.688 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.8814, allocations: 59.27 kB / 1.337 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.8814, allocations: 9.969 kB / 1.337 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.8815, allocations: 31.62 kB / 1.337 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.8816, allocations: 15.91 kB / 1.337 GB, free: 13.12 MB / 1.061 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.826e-05/0.8816, allocations: 128.4 kB / 1.337 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.8817, allocations: 16.38 kB / 1.337 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.882, allocations: 153.9 kB / 1.337 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.882, allocations: 3.016 kB / 1.337 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.882, allocations: 1.219 kB / 1.337 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.882, allocations: 0.7969 kB / 1.337 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8822, allocations: 223.6 kB / 1.337 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8822, allocations: 4.438 kB / 1.337 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.8823, allocations: 22.14 kB / 1.337 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8823, allocations: 1.188 kB / 1.337 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.8823, allocations: 10.48 kB / 1.337 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8823, allocations: 5 kB / 1.337 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8823, allocations: 0.9844 kB / 1.337 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.8825, allocations: 218.4 kB / 1.338 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.8826, allocations: 115.1 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.8826, allocations: 6.719 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.8828, allocations: 15.42 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.8828, allocations: 7.609 kB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.8828, allocations: 12.94 kB / 1.338 GB, free: 12.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.8829, allocations: 124.9 kB / 1.338 GB, free: 12.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8829, allocations: 0 / 1.338 GB, free: 12.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003963/0.8833, allocations: 77.66 kB / 1.338 GB, free: 12.27 MB / 1.061 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.0005824/0.8839, allocations: 0.8339 MB / 1.339 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.8842, allocations: 124.3 kB / 1.339 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8842, allocations: 1.375 kB / 1.339 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.8842, allocations: 37.84 kB / 1.339 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.8847, allocations: 60.42 kB / 1.339 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.8866, allocations: 2.043 MB / 1.341 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.8868, allocations: 0.7151 MB / 1.342 GB, free: 9.082 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.8869, allocations: 48.86 kB / 1.342 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.887, allocations: 45.03 kB / 1.342 GB, free: 9.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.887, allocations: 0 / 1.342 GB, free: 9.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.9109, allocations: 5.361 MB / 1.347 GB, free: 8.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/9.03, allocations: 4.438 kB / 1.347 GB, free: 8.281 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterProperties.fmu > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.318091030989308]