Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008622/0.008622, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.00211, allocations: 202 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 62.97 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2103, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001883/0.2122, allocations: 1.387 MB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2151, allocations: 2.911 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.2151, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.2152, allocations: 3.938 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.2153, allocations: 43.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.2157, allocations: 179.1 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.216, allocations: 251.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.216, allocations: 11.97 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.2161, allocations: 95.8 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2162, allocations: 119.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2162, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.2165, allocations: 135.9 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.2166, allocations: 83.81 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.2167, allocations: 103.5 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.217, allocations: 263 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.217, allocations: 7.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.217, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.217, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 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.0007181/0.2178, allocations: 0.5339 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2178, allocations: 8.031 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.2179, allocations: 46.73 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.218, allocations: 24.75 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.2182, allocations: 238.5 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.2182, allocations: 28.36 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2183, allocations: 12.38 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.2188, allocations: 288.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2189, allocations: 8 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.2189, allocations: 7.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2189, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2202, allocations: 0.7452 MB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2205, allocations: 313.2 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.222, allocations: 0.6719 MB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.2224, allocations: 225.3 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.2228, allocations: 396 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2228, allocations: 42.48 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.353e-06/0.2228, allocations: 0 / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001475/0.2243, allocations: 0.6461 MB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2243, allocations: 63.16 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.2244, allocations: 126.1 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2245, allocations: 33.7 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.2245, allocations: 88.8 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.2246, allocations: 130.1 kB / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.2247, allocations: 61.69 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.2248, allocations: 338.8 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.2252, allocations: 187.8 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2257, allocations: 203.9 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.2265, allocations: 356.3 kB / 1.099 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2265, allocations: 0 / 1.099 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009727/0.2275, allocations: 477.1 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2275, allocations: 5.719 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2275, allocations: 4 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2275, allocations: 0 / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.2279, allocations: 99.84 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2279, allocations: 0 / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2281, allocations: 47.81 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2281, allocations: 11.98 kB / 1.099 GB, free: 5.676 MB / 0.8575 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.0001118/0.2282, allocations: 149.8 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2282, allocations: 23.73 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.2294, allocations: 0.5139 MB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2294, allocations: 0 / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2294, allocations: 4 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2294, allocations: 0 / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.2297, allocations: 317.2 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2297, allocations: 3.938 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.2301, allocations: 95.84 kB / 1.1 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2301, allocations: 4 kB / 1.1 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2301, allocations: 15.98 kB / 1.1 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2301, allocations: 4 kB / 1.1 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2301, allocations: 0 / 1.1 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.2311, allocations: 0.4925 MB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2312, allocations: 104.7 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.2312, allocations: 4 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2314, allocations: 39.95 kB / 1.101 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.2316, allocations: 115.8 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.2316, allocations: 15.98 kB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.2317, allocations: 96.64 kB / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2317, allocations: 0 / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003459/0.232, allocations: 119.9 kB / 1.101 GB, free: 3.477 MB / 0.8575 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.001414/0.2335, allocations: 1.111 MB / 1.102 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009872/0.2344, allocations: 479.3 kB / 1.103 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.2345, allocations: 4 kB / 1.103 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.235, allocations: 259.7 kB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.2353, allocations: 83.86 kB / 1.103 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.239, allocations: 2.678 MB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2392, allocations: 0.7289 MB / 1.106 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003449/0.2396, allocations: 189.1 kB / 1.107 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2397, allocations: 59.41 kB / 1.107 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.2397, allocations: 0 / 1.107 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6631/0.9028, allocations: 7.428 MB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/10.02, allocations: 11.92 kB / 1.114 GB, free: 6.492 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches