Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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: 114.5 kB / 18.94 MB, free: 2.957 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.002904/0.002904, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.004 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.253/3.253, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.002067/0.002067, allocations: 72.09 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003388/0.3737, allocations: 1.41 MB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3783, allocations: 3.004 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.3784, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.3785, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3786, allocations: 43.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.3794, allocations: 187.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.3797, allocations: 243.5 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.3797, allocations: 11.92 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3799, allocations: 95.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.38, allocations: 123.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.3801, allocations: 12 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3805, allocations: 155.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3806, allocations: 99.75 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3807, allocations: 83.66 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3811, allocations: 271.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3811, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3811, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3811, allocations: 0 / 1.331 GB, free: 12.18 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009093/0.3821, allocations: 473.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3821, allocations: 12.03 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.3822, allocations: 46.73 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3823, allocations: 20.78 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3826, allocations: 182.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.3826, allocations: 24.36 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3827, allocations: 12.38 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.3834, allocations: 297.6 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3834, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.3834, allocations: 8 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3834, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.385, allocations: 0.7488 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3854, allocations: 284.1 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.387, allocations: 0.6486 MB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.3876, allocations: 212.7 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.3879, allocations: 95.84 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.3879, allocations: 38.5 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.382e-06/0.3879, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001636/0.3896, allocations: 0.646 MB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3896, allocations: 63.39 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3897, allocations: 124.1 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3898, allocations: 29.7 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.3898, allocations: 92.78 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.39, allocations: 130.9 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3901, allocations: 69.67 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3902, allocations: 326.8 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.3907, allocations: 195.8 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.3912, allocations: 208.5 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009092/0.3921, allocations: 360.5 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3921, allocations: 0 / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001066/0.3932, allocations: 473 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3932, allocations: 9.562 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3932, allocations: 3.984 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3932, allocations: 0 / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.3936, allocations: 95.84 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.3936, allocations: 4 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3938, allocations: 59.73 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.3938, allocations: 8 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001554/0.3939, allocations: 150.2 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.394, allocations: 19.84 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3952, allocations: 0.5063 MB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3952, allocations: 4 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3952, allocations: 0 / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3952, allocations: 3.984 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.3956, allocations: 284.4 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3956, allocations: 7.938 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.3959, allocations: 91.86 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3959, allocations: 4 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.3959, allocations: 15.98 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.396, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.396, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3971, allocations: 0.4927 MB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.3971, allocations: 19.78 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3971, allocations: 12 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3973, allocations: 35.95 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.3975, allocations: 119.8 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3976, allocations: 12 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.3976, allocations: 102.4 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3976, allocations: 0 / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000386/0.398, allocations: 115.8 kB / 1.339 GB, free: 4.004 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.001693/0.3997, allocations: 1.131 MB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.4008, allocations: 459.6 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4008, allocations: 3.938 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.4013, allocations: 239.7 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4017, allocations: 87.86 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.4061, allocations: 2.673 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4065, allocations: 0.7328 MB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004212/0.4069, allocations: 186 kB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4071, allocations: 67.39 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.4071, allocations: 0 / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.4463, allocations: 7.777 MB / 1.352 GB, free: 6.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 12.73 kB / 1.352 GB, free: 6.723 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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: 19.213089952943847]