Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001852/0.001852, 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.001791/0.001791, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 33.23 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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.002001/0.002001, allocations: 63.25 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3934, allocations: 176.1 MB / 1.327 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007385/0.4008, allocations: 4.535 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.4042, allocations: 2.726 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.4043, allocations: 7.938 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.4046, allocations: 43.69 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.405, allocations: 99.41 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.4065, allocations: 0.5099 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.4068, allocations: 232 kB / 1.335 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.4069, allocations: 5.75 kB / 1.335 GB, free: 9.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.4081, allocations: 0.4987 MB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.4083, allocations: 95.64 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.4083, allocations: 11.94 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.4097, allocations: 0.5458 MB / 1.336 GB, free: 8.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.4098, allocations: 39.83 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4099, allocations: 75.66 kB / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.4107, allocations: 366.9 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4107, allocations: 0 / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4107, allocations: 0 / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4107, allocations: 4 kB / 1.336 GB, free: 8.094 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.0008508/0.4115, allocations: 437.5 kB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4116, allocations: 11.97 kB / 1.337 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.883e-05/0.4116, allocations: 8.453 kB / 1.337 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.4117, allocations: 54.73 kB / 1.337 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.4118, allocations: 28.83 kB / 1.337 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4121, allocations: 150.3 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.4122, allocations: 20.69 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4122, allocations: 16.12 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.4126, allocations: 249 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4126, allocations: 8 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4127, allocations: 8 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.4127, allocations: 8 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.4132, allocations: 444 kB / 1.338 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.4145, allocations: 0.9834 MB / 1.339 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.4148, allocations: 148.6 kB / 1.339 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4149, allocations: 56.88 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/0.4157, allocations: 463.8 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4157, allocations: 38.56 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4157, allocations: 0 / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003744/0.4161, allocations: 147.5 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4161, allocations: 59.34 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.4163, allocations: 167.3 kB / 1.34 GB, free: 4.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4163, allocations: 37.7 kB / 1.34 GB, free: 4.348 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4164, allocations: 144 kB / 1.34 GB, free: 4.203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.4165, allocations: 55.52 kB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.4166, allocations: 53.66 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4167, allocations: 326.8 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.4168, allocations: 35.98 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4169, allocations: 133.7 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.4172, allocations: 197.5 kB / 1.341 GB, free: 3.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4172, allocations: 0 / 1.341 GB, free: 3.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003528/0.4176, allocations: 219.1 kB / 1.341 GB, free: 3.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.4176, allocations: 8 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4176, allocations: 4 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4176, allocations: 11.88 kB / 1.341 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.4178, allocations: 55.91 kB / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4178, allocations: 7.938 kB / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.418, allocations: 28.25 kB / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.418, allocations: 20 kB / 1.341 GB, free: 2.953 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.0001341/0.4181, allocations: 133.7 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.4182, allocations: 15.91 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.4185, allocations: 154.9 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4185, allocations: 0 / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4185, allocations: 8 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4185, allocations: 3.938 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.4188, allocations: 192.6 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4188, allocations: 0 / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.4189, allocations: 27.98 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4189, allocations: 0 / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4189, allocations: 7.938 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4189, allocations: 4 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4189, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4192, allocations: 218.5 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.4193, allocations: 35.8 kB / 1.342 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4193, allocations: 7.922 kB / 1.342 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4195, allocations: 19.98 kB / 1.342 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.4195, allocations: 15.92 kB / 1.342 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.4196, allocations: 8 kB / 1.342 GB, free: 2.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4197, allocations: 123.9 kB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4197, allocations: 0 / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004205/0.4201, allocations: 75.88 kB / 1.342 GB, free: 1.852 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.0008721/0.421, allocations: 0.837 MB / 1.343 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.4212, allocations: 116.5 kB / 1.343 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4212, allocations: 192 / 1.343 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.4213, allocations: 43.92 kB / 1.343 GB, free: 0.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.4218, allocations: 45.17 kB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.4244, allocations: 2.058 MB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4248, allocations: 0.7206 MB / 1.346 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.425, allocations: 41.75 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.4251, allocations: 47.42 kB / 1.346 GB, free: 13.72 MB / 1.045 GB Notification: Performance of SimCode: time 1.583e-06/0.4251, allocations: 4 kB / 1.346 GB, free: 13.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.4536, allocations: 5.512 MB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.95, allocations: 15.92 kB / 1.351 GB, free: 8.383 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.925400017003994]