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.001686/0.001686, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002159/0.002159, allocations: 216.8 kB / 22.24 MB, free: 5.258 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.495/1.495, 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.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 35.65 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.001996/0.001996, allocations: 63.59 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002766/0.3655, allocations: 1.396 MB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.3698, allocations: 2.77 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.3698, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.3699, allocations: 3.938 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3701, allocations: 39.8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.3708, allocations: 199.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3711, allocations: 235.5 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.3711, allocations: 7.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3712, allocations: 95.84 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3714, allocations: 127.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.3715, allocations: 12 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.3719, allocations: 143.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.372, allocations: 99.75 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.3721, allocations: 79.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.3725, allocations: 275.1 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3725, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3725, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3725, allocations: 0 / 1.331 GB, free: 12.04 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.0009104/0.3734, allocations: 473.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3735, allocations: 8.031 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.3735, allocations: 50.73 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.3737, allocations: 20.84 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.374, allocations: 170.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.374, allocations: 28.36 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3741, allocations: 16.38 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.3747, allocations: 301.4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3748, allocations: 3.938 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3748, allocations: 8 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3748, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.3764, allocations: 0.7217 MB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.3768, allocations: 272.1 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3786, allocations: 0.6408 MB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.3791, allocations: 208.7 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.3794, allocations: 91.86 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3795, allocations: 42.5 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.873e-06/0.3795, allocations: 4 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001622/0.3811, allocations: 0.6469 MB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3811, allocations: 59.39 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3813, allocations: 125.1 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3813, allocations: 29.7 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.3813, allocations: 96.78 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3815, allocations: 122.9 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3816, allocations: 69.67 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3818, allocations: 330.8 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.3823, allocations: 187.8 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.3827, allocations: 215.5 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.3836, allocations: 357.2 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3836, allocations: 0 / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001078/0.3847, allocations: 464.4 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3847, allocations: 8 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3847, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3847, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.3851, allocations: 99.84 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3851, allocations: 4 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3853, allocations: 55.73 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3853, allocations: 8 kB / 1.337 GB, free: 5.984 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.0001489/0.3855, allocations: 146.3 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3855, allocations: 19.84 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3867, allocations: 0.5141 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3867, allocations: 4 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3867, allocations: 0 / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3868, allocations: 3.984 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.3871, allocations: 268.5 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3871, allocations: 7.938 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.3874, allocations: 95.86 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3874, allocations: 4 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3875, allocations: 19.86 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3875, allocations: 0 / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3875, allocations: 0 / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3886, allocations: 0.4927 MB / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.3886, allocations: 19.78 kB / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3886, allocations: 12 kB / 1.338 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3888, allocations: 43.95 kB / 1.338 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.389, allocations: 119.8 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3891, allocations: 8 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.3892, allocations: 103.2 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 3.938 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003858/0.3895, allocations: 119.8 kB / 1.339 GB, free: 3.918 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.001752/0.3913, allocations: 1.115 MB / 1.34 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3924, allocations: 459.3 kB / 1.34 GB, free: 2.324 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3924, allocations: 0 / 1.34 GB, free: 2.324 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.393, allocations: 243.7 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3934, allocations: 73.95 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.3981, allocations: 2.685 MB / 1.343 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3982, allocations: 118.5 kB / 1.343 GB, free: 15.11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004691/0.3987, allocations: 179.7 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3988, allocations: 67.39 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/0.3988, allocations: 0 / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.4367, allocations: 8.528 MB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.99, allocations: 10.14 kB / 1.352 GB, free: 6.586 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: 18.796838205016684]