Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00158/0.00158, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00167/0.00167, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.31/1.31, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.904/2.904, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.001908/0.001908, allocations: 66.56 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2937, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002229/0.296, allocations: 1.394 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.2994, allocations: 2.763 MB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.2994, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.93e-05/0.2995, allocations: 7.922 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.2996, allocations: 39.81 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.3001, allocations: 191.4 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.3003, allocations: 247.5 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.3004, allocations: 7.938 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.3005, allocations: 91.8 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3006, allocations: 123.8 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3007, allocations: 12 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.301, allocations: 135.8 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.3011, allocations: 95.75 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3012, allocations: 83.64 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.3015, allocations: 267.1 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3015, allocations: 8 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3015, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3015, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 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.0007701/0.3023, allocations: 473.1 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3023, allocations: 11.97 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.3024, allocations: 58.73 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.3025, allocations: 16.84 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.3028, allocations: 178.3 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.3028, allocations: 28.36 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3028, allocations: 16.38 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.3035, allocations: 288.8 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3035, allocations: 4 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3035, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3035, allocations: 4 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.305, allocations: 0.7217 MB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3053, allocations: 264.2 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.3069, allocations: 0.644 MB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.3074, allocations: 212.7 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.3077, allocations: 83.88 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3077, allocations: 38.56 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.3077, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001592/0.3093, allocations: 0.6622 MB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3093, allocations: 59.34 kB / 1.372 GB, free: 4.727 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3094, allocations: 122.1 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3095, allocations: 33.69 kB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.3095, allocations: 92.8 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3096, allocations: 118.9 kB / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3097, allocations: 65.67 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3099, allocations: 330.8 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.3104, allocations: 195.8 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.3108, allocations: 195.8 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.3117, allocations: 365 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3117, allocations: 7.938 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001061/0.3128, allocations: 464.6 kB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3128, allocations: 11.98 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3128, allocations: 7.922 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3128, allocations: 0 / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3131, allocations: 95.86 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3132, allocations: 3.938 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.3133, allocations: 55.78 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3134, allocations: 15.98 kB / 1.374 GB, free: 2.547 MB / 1.061 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.0001283/0.3135, allocations: 133.8 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3135, allocations: 23.78 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3147, allocations: 0.5162 MB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3147, allocations: 4 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3147, allocations: 3.984 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3147, allocations: 0 / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.315, allocations: 264.5 kB / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.315, allocations: 7.938 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3153, allocations: 103.8 kB / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3153, allocations: 4 kB / 1.375 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3154, allocations: 8 kB / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3154, allocations: 0 / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3154, allocations: 0 / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3164, allocations: 0.4962 MB / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.3165, allocations: 23.73 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3165, allocations: 15.98 kB / 1.376 GB, free: 0.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3167, allocations: 31.97 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.3169, allocations: 123.8 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3169, allocations: 15.98 kB / 1.376 GB, free: 0.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.317, allocations: 95.27 kB / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.317, allocations: 0 / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003344/0.3173, allocations: 115.8 kB / 1.376 GB, free: 0.5 MB / 1.061 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.001551/0.3188, allocations: 1.127 MB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.3199, allocations: 451.3 kB / 1.378 GB, free: 14.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3199, allocations: 4 kB / 1.378 GB, free: 14.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.3204, allocations: 243.7 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3208, allocations: 75.92 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.325, allocations: 2.681 MB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3251, allocations: 118.5 kB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.3255, allocations: 186.1 kB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3256, allocations: 63.41 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/0.3256, allocations: 0 / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.3602, allocations: 8.395 MB / 1.389 GB, free: 3.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.72, allocations: 13.3 kB / 1.389 GB, free: 3.281 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.74024902191013]