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.001608/0.001608, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002211/0.002211, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.179/3.179, allocations: 0.49 GB / 0.7959 GB, free: 33.47 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.001986/0.001986, allocations: 62.12 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006815/0.3288, allocations: 4.849 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.332, allocations: 2.737 MB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.3321, allocations: 0 / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.3324, allocations: 51.67 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3326, allocations: 95.36 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3339, allocations: 0.5256 MB / 1.335 GB, free: 9.641 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3342, allocations: 235.9 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.3342, allocations: 5.75 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.3345, allocations: 119.6 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3346, allocations: 99.58 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3346, allocations: 8 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.3354, allocations: 383.3 kB / 1.336 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.3354, allocations: 43.89 kB / 1.336 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.3355, allocations: 87.64 kB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.3362, allocations: 367 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3362, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3362, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3362, allocations: 0 / 1.336 GB, free: 8.32 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.0008854/0.3371, allocations: 449.4 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.3371, allocations: 8.031 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.449e-05/0.3371, allocations: 8.516 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.3372, allocations: 54.73 kB / 1.337 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.3374, allocations: 20.84 kB / 1.337 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3377, allocations: 154.3 kB / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3377, allocations: 8.703 kB / 1.337 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3378, allocations: 24.12 kB / 1.337 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.3382, allocations: 255.9 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3383, allocations: 7.938 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3383, allocations: 8 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.3383, allocations: 8 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.3389, allocations: 435.5 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3402, allocations: 0.9324 MB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.3405, allocations: 144.8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3406, allocations: 60.88 kB / 1.339 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.3414, allocations: 471.8 kB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3415, allocations: 34.56 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.3415, allocations: 0 / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003439/0.3418, allocations: 153.4 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3419, allocations: 51.41 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.342, allocations: 171.9 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.342, allocations: 29.7 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.3421, allocations: 148 kB / 1.34 GB, free: 4.488 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.3422, allocations: 59.52 kB / 1.34 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.3423, allocations: 53.66 kB / 1.34 GB, free: 4.371 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3424, allocations: 322.8 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.3425, allocations: 35.97 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3426, allocations: 137.7 kB / 1.34 GB, free: 3.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3429, allocations: 199.4 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3429, allocations: 4 kB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003494/0.3432, allocations: 213.2 kB / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3433, allocations: 8 kB / 1.341 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3433, allocations: 4 kB / 1.341 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3433, allocations: 7.938 kB / 1.341 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3435, allocations: 51.92 kB / 1.341 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3435, allocations: 15.92 kB / 1.341 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3436, allocations: 28.25 kB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.3436, allocations: 20 kB / 1.341 GB, free: 3.234 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.000143/0.3438, allocations: 134.2 kB / 1.341 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.3438, allocations: 15.91 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.3442, allocations: 161.5 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.3442, allocations: 7.984 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3442, allocations: 0 / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3442, allocations: 0 / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.3445, allocations: 184.6 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3445, allocations: 0 / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.3446, allocations: 27.98 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3446, allocations: 0 / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3446, allocations: 11.94 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3446, allocations: 3.984 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3446, allocations: 0 / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3449, allocations: 219.3 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.3449, allocations: 31.81 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.345, allocations: 7.938 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3452, allocations: 15.98 kB / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.3452, allocations: 15.97 kB / 1.341 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3452, allocations: 12 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.3453, allocations: 116 kB / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3453, allocations: 0 / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004116/0.3457, allocations: 87.8 kB / 1.342 GB, free: 2.129 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.0007726/0.3465, allocations: 0.8359 MB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.3468, allocations: 116.4 kB / 1.343 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3468, allocations: 0 / 1.343 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.3468, allocations: 43.91 kB / 1.343 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3473, allocations: 51.95 kB / 1.343 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.3497, allocations: 2.053 MB / 1.345 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.35, allocations: 0.7206 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.3501, allocations: 45.77 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.3502, allocations: 47.42 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3502, allocations: 0 / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.3769, allocations: 5.587 MB / 1.351 GB, free: 8.594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 10.06 kB / 1.351 GB, free: 8.586 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.930740126990713]