Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001686/0.001686, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002178/0.002178, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.793 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.161/3.161, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.EthyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001998/0.001998, allocations: 69.06 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002575/0.3668, allocations: 1.387 MB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.3707, allocations: 2.77 MB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3707, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.356e-05/0.3708, allocations: 11.92 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.371, allocations: 35.81 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.3716, allocations: 187.4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3719, allocations: 243.5 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.3719, allocations: 7.938 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.372, allocations: 99.8 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3722, allocations: 123.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3722, allocations: 12 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.3726, allocations: 147.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3727, allocations: 91.75 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3728, allocations: 79.72 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.3732, allocations: 275 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3732, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3732, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3732, allocations: 3.938 kB / 1.331 GB, free: 12.06 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.000841/0.374, allocations: 470.9 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3741, allocations: 12.03 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.3741, allocations: 54.67 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3742, allocations: 16.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3745, allocations: 182.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3746, allocations: 24.36 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.3746, allocations: 16.38 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3753, allocations: 289.5 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3753, allocations: 11.94 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3753, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3753, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.3768, allocations: 0.7217 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.3773, allocations: 268.2 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.379, allocations: 0.6449 MB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.3795, allocations: 216.7 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.3798, allocations: 83.89 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3798, allocations: 34.56 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.695e-06/0.3798, allocations: 0 / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001626/0.3815, allocations: 0.6547 MB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3815, allocations: 55.41 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3816, allocations: 132 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3816, allocations: 33.7 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3817, allocations: 84.8 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.3818, allocations: 134.8 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3819, allocations: 65.69 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3821, allocations: 326.8 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.3825, allocations: 195.8 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.383, allocations: 203.6 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.3839, allocations: 357.2 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3839, allocations: 4 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001049/0.3849, allocations: 472.4 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.385, allocations: 4 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.385, allocations: 0 / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.385, allocations: 7.938 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.3854, allocations: 87.92 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3854, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3855, allocations: 67.67 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.3856, allocations: 11.98 kB / 1.337 GB, free: 5.996 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.0001443/0.3857, allocations: 134.4 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.3858, allocations: 27.78 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.387, allocations: 0.5063 MB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.387, allocations: 7.984 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.387, allocations: 0 / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.387, allocations: 4 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3873, allocations: 272.4 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3873, allocations: 3.938 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.3877, allocations: 103.8 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3877, allocations: 0 / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3877, allocations: 8 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3877, allocations: 4 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3877, allocations: 3.984 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3888, allocations: 0.4887 MB / 1.338 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3888, allocations: 23.78 kB / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3889, allocations: 11.98 kB / 1.338 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.389, allocations: 31.97 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.3893, allocations: 127.8 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.3893, allocations: 19.97 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.3894, allocations: 96.39 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3894, allocations: 0 / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004488/0.3898, allocations: 119.7 kB / 1.339 GB, free: 3.941 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.001667/0.3915, allocations: 1.115 MB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.3926, allocations: 459.3 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3926, allocations: 4 kB / 1.34 GB, free: 2.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.3931, allocations: 243.7 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3935, allocations: 77.42 kB / 1.341 GB, free: 2.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3977, allocations: 2.685 MB / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3978, allocations: 114.7 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004128/0.3983, allocations: 184.3 kB / 1.344 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3984, allocations: 67.34 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/0.3984, allocations: 0 / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4334, allocations: 8.514 MB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 7.719 kB / 1.352 GB, free: 6.613 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.72736541100312]