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.001259/0.001259, allocations: 108 kB / 16.45 MB, free: 6.512 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.001337/0.001337, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 8.949 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 3.076/3.076, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterProperties",fmuType="me",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.002162/0.002162, allocations: 74.67 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3116, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006963/0.3185, allocations: 4.811 MB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.322, allocations: 2.718 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3222, allocations: 4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3225, allocations: 51.67 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3228, allocations: 91.36 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3243, allocations: 0.5228 MB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.3247, allocations: 239.9 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3247, allocations: 9.562 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.325, allocations: 119.6 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3252, allocations: 91.59 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3252, allocations: 8 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.3261, allocations: 383.3 kB / 1.33 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.3262, allocations: 43.89 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3263, allocations: 79.66 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007932/0.3271, allocations: 375 kB / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3271, allocations: 0 / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3271, allocations: 0 / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.3271, allocations: 0 / 1.33 GB, free: 9.73 MB / 1.029 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.0008744/0.328, allocations: 0.5079 MB / 1.331 GB, free: 9.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.328, allocations: 11.98 kB / 1.331 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.916e-05/0.3281, allocations: 50.73 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3283, allocations: 28.83 kB / 1.331 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3285, allocations: 220.1 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3285, allocations: 12.7 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3286, allocations: 16.38 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.329, allocations: 251.8 kB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.329, allocations: 0 / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.329, allocations: 15.94 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.329, allocations: 4 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.3296, allocations: 427.5 kB / 1.332 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.3308, allocations: 0.9528 MB / 1.333 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.3311, allocations: 143.7 kB / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3312, allocations: 60.88 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.3327, allocations: 1.821 MB / 1.335 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3328, allocations: 38.56 kB / 1.335 GB, free: 4.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3328, allocations: 0 / 1.335 GB, free: 4.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003514/0.3331, allocations: 149.4 kB / 1.335 GB, free: 4.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3332, allocations: 55.41 kB / 1.335 GB, free: 4.391 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3333, allocations: 172 kB / 1.335 GB, free: 4.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3334, allocations: 33.7 kB / 1.335 GB, free: 4.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.3335, allocations: 136.1 kB / 1.335 GB, free: 4.035 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3335, allocations: 63.5 kB / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.3336, allocations: 57.59 kB / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3337, allocations: 330.8 kB / 1.336 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.3338, allocations: 31.98 kB / 1.336 GB, free: 3.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3339, allocations: 137.7 kB / 1.336 GB, free: 3.363 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3342, allocations: 208.7 kB / 1.336 GB, free: 3.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3342, allocations: 0 / 1.336 GB, free: 3.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003417/0.3345, allocations: 209.5 kB / 1.336 GB, free: 2.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3345, allocations: 4 kB / 1.336 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3346, allocations: 4 kB / 1.336 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3346, allocations: 11.94 kB / 1.336 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3347, allocations: 55.91 kB / 1.336 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3348, allocations: 7.938 kB / 1.336 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3349, allocations: 27.78 kB / 1.336 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3349, allocations: 16 kB / 1.336 GB, free: 2.777 MB / 1.029 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 0.0001203/0.335, allocations: 137.9 kB / 1.336 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.3351, allocations: 19.89 kB / 1.336 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3354, allocations: 151 kB / 1.336 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3354, allocations: 7.875 kB / 1.336 GB, free: 2.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.3354, allocations: 8 kB / 1.336 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3354, allocations: 0 / 1.336 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.3357, allocations: 217.5 kB / 1.337 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3357, allocations: 0 / 1.337 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3358, allocations: 27.98 kB / 1.337 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3358, allocations: 0 / 1.337 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3358, allocations: 4 kB / 1.337 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3358, allocations: 3.938 kB / 1.337 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3358, allocations: 4 kB / 1.337 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.3361, allocations: 225.7 kB / 1.337 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3362, allocations: 105 kB / 1.337 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3362, allocations: 4 kB / 1.337 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3364, allocations: 15.92 kB / 1.337 GB, free: 1.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.3364, allocations: 15.98 kB / 1.337 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3364, allocations: 8 kB / 1.337 GB, free: 1.742 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3366, allocations: 123.9 kB / 1.337 GB, free: 1.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 0 / 1.337 GB, free: 1.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004068/0.337, allocations: 79.81 kB / 1.337 GB, free: 1.543 MB / 1.029 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.0007925/0.3378, allocations: 0.837 MB / 1.338 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.338, allocations: 112.6 kB / 1.338 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.338, allocations: 4 kB / 1.338 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.3381, allocations: 47 kB / 1.338 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3385, allocations: 53.67 kB / 1.338 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3409, allocations: 2.042 MB / 1.34 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3413, allocations: 0.7206 MB / 1.341 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.3414, allocations: 45.75 kB / 1.341 GB, free: 13.47 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.3415, allocations: 47.42 kB / 1.341 GB, free: 13.43 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3415, allocations: 0 / 1.341 GB, free: 13.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3713, allocations: 5.321 MB / 1.346 GB, free: 8.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.114, allocations: 8.031 kB / 1.346 GB, free: 8.203 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.369198475964367]