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.001309/0.001309, allocations: 103 kB / 16.45 MB, free: 6.5 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.00137/0.00137, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.056/3.056, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.001973/0.001973, allocations: 73.23 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3019, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002477/0.3044, allocations: 1.405 MB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.3083, allocations: 2.969 MB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.3083, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.3084, allocations: 11.92 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3086, allocations: 35.81 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3091, allocations: 195.3 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3094, allocations: 235.5 kB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.3094, allocations: 11.92 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.3095, allocations: 95.84 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3097, allocations: 123.7 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3097, allocations: 12 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.31, allocations: 139.9 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3101, allocations: 91.75 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3102, allocations: 87.64 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3106, allocations: 279 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3106, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3106, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3106, allocations: 0 / 1.326 GB, free: 13.66 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.0009008/0.3115, allocations: 0.5313 MB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3116, allocations: 19.98 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.3116, allocations: 50.67 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3117, allocations: 20.84 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.312, allocations: 236.1 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.3121, allocations: 28.3 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3121, allocations: 12.38 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.3128, allocations: 289.1 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3128, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3128, allocations: 8 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3128, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.3144, allocations: 0.7452 MB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.3149, allocations: 317 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.3166, allocations: 0.6525 MB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.3171, allocations: 212.7 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.3176, allocations: 396.3 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3176, allocations: 30.56 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.3176, allocations: 0 / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001719/0.3193, allocations: 0.6535 MB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3194, allocations: 55.41 kB / 1.33 GB, free: 9.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3195, allocations: 126.1 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3195, allocations: 37.7 kB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.3196, allocations: 88.73 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3197, allocations: 134.8 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3198, allocations: 65.69 kB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3199, allocations: 330.8 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.3204, allocations: 195.8 kB / 1.331 GB, free: 8.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.3209, allocations: 203.5 kB / 1.332 GB, free: 7.977 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.3219, allocations: 366.1 kB / 1.332 GB, free: 7.617 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3219, allocations: 0 / 1.332 GB, free: 7.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001132/0.323, allocations: 468.7 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3231, allocations: 4 kB / 1.332 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3231, allocations: 4 kB / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3231, allocations: 4 kB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3234, allocations: 91.86 kB / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3234, allocations: 0 / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3236, allocations: 51.8 kB / 1.333 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3237, allocations: 19.98 kB / 1.333 GB, free: 6.98 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.0001315/0.3238, allocations: 133.8 kB / 1.333 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.3238, allocations: 31.83 kB / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.3251, allocations: 0.5102 MB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3251, allocations: 7.938 kB / 1.333 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3251, allocations: 0 / 1.333 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3251, allocations: 0 / 1.333 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.3255, allocations: 321.3 kB / 1.334 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3255, allocations: 3.938 kB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.3258, allocations: 99.84 kB / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3258, allocations: 0 / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3259, allocations: 11.98 kB / 1.334 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3259, allocations: 0 / 1.334 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3259, allocations: 4 kB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3271, allocations: 0.4884 MB / 1.334 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.3272, allocations: 100.9 kB / 1.334 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3272, allocations: 8 kB / 1.334 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3274, allocations: 35.97 kB / 1.334 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/0.3277, allocations: 119.8 kB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.3278, allocations: 15.98 kB / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.684e-05/0.3278, allocations: 102.8 kB / 1.334 GB, free: 4.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 0 / 1.334 GB, free: 4.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003751/0.3282, allocations: 115.8 kB / 1.335 GB, free: 4.789 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.00172/0.3299, allocations: 1.123 MB / 1.336 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.331, allocations: 455.3 kB / 1.336 GB, free: 3.191 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.331, allocations: 0 / 1.336 GB, free: 3.191 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.3316, allocations: 244.6 kB / 1.336 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.332, allocations: 83.86 kB / 1.336 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.3365, allocations: 2.68 MB / 1.339 GB, free: 104 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3368, allocations: 0.7289 MB / 1.34 GB, free: 15.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004043/0.3372, allocations: 189.2 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3374, allocations: 59.41 kB / 1.34 GB, free: 15.11 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.3374, allocations: 0 / 1.34 GB, free: 15.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3697, allocations: 7.477 MB / 1.347 GB, free: 7.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.385, allocations: 3.984 kB / 1.347 GB, free: 7.793 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.62049103807658]