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.000815/0.000815, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008503/0.0008503, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8339/0.8339, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.664/1.664, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.65e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001614/0.00163, allocations: 1.378 MB / 0.9823 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.003963, allocations: 2.766 MB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.004003, allocations: 3.938 kB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.004081, allocations: 3.984 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.901e-05/0.00418, allocations: 39.73 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.004638, allocations: 194.9 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.004814, allocations: 255.4 kB / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.00485, allocations: 8 kB / 0.9855 GB, free: 13.95 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.004942, allocations: 115.8 kB / 0.9856 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.00504, allocations: 119.8 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.005066, allocations: 8 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.005392, allocations: 151.6 kB / 0.9858 GB, free: 13.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.005472, allocations: 87.84 kB / 0.9859 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.989e-05/0.005542, allocations: 79.81 kB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.005849, allocations: 303.1 kB / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005852, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005854, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.00586, allocations: 0 / 0.9863 GB, free: 13.1 MB / 0.948 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.0009223/0.006782, allocations: 469.2 kB / 0.9867 GB, free: 12.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.006828, allocations: 8.031 kB / 0.9867 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.006872, allocations: 50.73 kB / 0.9868 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.006968, allocations: 16.84 kB / 0.9868 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.007171, allocations: 185.5 kB / 0.987 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.007216, allocations: 32.36 kB / 0.987 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.007236, allocations: 12.38 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.007607, allocations: 285.9 kB / 0.9873 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007615, allocations: 192 / 0.9873 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.007632, allocations: 11.94 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.007637, allocations: 4 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.008452, allocations: 0.7308 MB / 0.988 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.008709, allocations: 264.5 kB / 0.9883 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.009616, allocations: 0.6286 MB / 0.9889 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.009906, allocations: 225.5 kB / 0.9891 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.01016, allocations: 83.92 kB / 0.9892 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.01018, allocations: 30.56 kB / 0.9892 GB, free: 9.957 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.01019, allocations: 0 / 0.9892 GB, free: 9.957 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0009667/0.01115, allocations: 0.6603 MB / 0.9899 GB, free: 9.289 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.01118, allocations: 59.41 kB / 0.9899 GB, free: 9.219 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.01126, allocations: 128.4 kB / 0.99 GB, free: 9.086 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.01128, allocations: 33.7 kB / 0.9901 GB, free: 9.047 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.01132, allocations: 88.8 kB / 0.9902 GB, free: 8.957 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.01139, allocations: 134.8 kB / 0.9903 GB, free: 8.824 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01145, allocations: 61.69 kB / 0.9904 GB, free: 8.758 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.01154, allocations: 330.8 kB / 0.9907 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.01179, allocations: 199.5 kB / 0.9909 GB, free: 8.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.01205, allocations: 195.8 kB / 0.991 GB, free: 8.039 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.01254, allocations: 361.9 kB / 0.9914 GB, free: 7.684 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01254, allocations: 4 kB / 0.9914 GB, free: 7.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005942/0.01313, allocations: 460.9 kB / 0.9918 GB, free: 7.223 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01315, allocations: 10.97 kB / 0.9918 GB, free: 7.215 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01316, allocations: 3.938 kB / 0.9918 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01317, allocations: 4 kB / 0.9919 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.01337, allocations: 91.86 kB / 0.9919 GB, free: 7.117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01338, allocations: 4 kB / 0.9919 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.01347, allocations: 47.8 kB / 0.992 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01349, allocations: 15.98 kB / 0.992 GB, free: 7.051 MB / 0.948 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 9.835e-05/0.01359, allocations: 145.8 kB / 0.9921 GB, free: 6.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.01361, allocations: 15.91 kB / 0.9922 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.01431, allocations: 0.5217 MB / 0.9927 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01431, allocations: 7.984 kB / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01432, allocations: 0 / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01432, allocations: 0 / 0.9927 GB, free: 6.344 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01454, allocations: 264.5 kB / 0.9929 GB, free: 6.043 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01455, allocations: 0 / 0.9929 GB, free: 6.043 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.01472, allocations: 95.84 kB / 0.993 GB, free: 5.949 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01472, allocations: 7.938 kB / 0.993 GB, free: 5.941 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01474, allocations: 15.94 kB / 0.993 GB, free: 5.926 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01474, allocations: 0 / 0.993 GB, free: 5.926 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01474, allocations: 7.922 kB / 0.9931 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.0156, allocations: 496.3 kB / 0.9935 GB, free: 5.414 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.01562, allocations: 31.73 kB / 0.9936 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.01565, allocations: 15.92 kB / 0.9936 GB, free: 5.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.01573, allocations: 31.97 kB / 0.9936 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.01588, allocations: 119.8 kB / 0.9937 GB, free: 5.219 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.01589, allocations: 15.98 kB / 0.9937 GB, free: 5.203 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.01593, allocations: 95.27 kB / 0.9938 GB, free: 5.109 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01593, allocations: 4 kB / 0.9938 GB, free: 5.105 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002763/0.01621, allocations: 119.8 kB / 0.9939 GB, free: 4.988 MB / 0.948 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.001034/0.01724, allocations: 1.123 MB / 0.995 GB, free: 3.832 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.01785, allocations: 455.2 kB / 0.9955 GB, free: 3.387 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01785, allocations: 0 / 0.9955 GB, free: 3.387 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.01814, allocations: 252.3 kB / 0.9957 GB, free: 3.141 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01842, allocations: 78.5 kB / 0.9958 GB, free: 3.066 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.02088, allocations: 2.678 MB / 0.9984 GB, free: 324 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.02095, allocations: 118.6 kB / 0.9985 GB, free: 184 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.02121, allocations: 186.5 kB / 0.9987 GB, free: 0 / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02131, allocations: 68.52 kB / 0.9988 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of SimCode: time 8.22e-07/0.02131, allocations: 4 kB / 0.9988 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.04487, allocations: 8.531 MB / 1.007 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.54/6.585, allocations: 10.3 kB / 1.007 GB, free: 7.641 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.435276350937784]