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.000821/0.000821, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009737/0.0009737, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8631/0.8631, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.653/1.653, allocations: 377.9 MB / 0.6221 GB, free: 8.629 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.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.799e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001713/0.001731, allocations: 1.39 MB / 0.9823 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.004215, allocations: 2.758 MB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.004262, allocations: 4 kB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 8.287e-05/0.004345, allocations: 19.86 kB / 0.985 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.004447, allocations: 31.86 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.004988, allocations: 190.9 kB / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.005415, allocations: 251.4 kB / 0.9855 GB, free: 13.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.005451, allocations: 4 kB / 0.9855 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.005542, allocations: 119.8 kB / 0.9856 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.005639, allocations: 119.8 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.005663, allocations: 12 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.005975, allocations: 147.6 kB / 0.9858 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.006052, allocations: 99.77 kB / 0.9859 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.006114, allocations: 67.89 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.006385, allocations: 307.1 kB / 0.9863 GB, free: 13.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.006388, allocations: 0 / 0.9863 GB, free: 13.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.00639, allocations: 0 / 0.9863 GB, free: 13.08 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.006394, allocations: 0 / 0.9863 GB, free: 13.08 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.0005479/0.006942, allocations: 469.2 kB / 0.9867 GB, free: 12.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.006979, allocations: 8.031 kB / 0.9868 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.00702, allocations: 50.73 kB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.007099, allocations: 16.84 kB / 0.9868 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.007278, allocations: 185.5 kB / 0.987 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.007314, allocations: 32.28 kB / 0.987 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.007334, allocations: 16.38 kB / 0.987 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.007701, allocations: 293.8 kB / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.00771, allocations: 192 / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.007725, allocations: 7.938 kB / 0.9873 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.007731, allocations: 4 kB / 0.9873 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.008533, allocations: 0.7269 MB / 0.988 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.008784, allocations: 264.5 kB / 0.9883 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.009675, allocations: 0.6286 MB / 0.9889 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.009955, allocations: 217.6 kB / 0.9891 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.01015, allocations: 71.95 kB / 0.9892 GB, free: 9.992 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.01017, allocations: 46.48 kB / 0.9892 GB, free: 9.938 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.01017, allocations: 0 / 0.9892 GB, free: 9.938 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0009253/0.0111, allocations: 0.6564 MB / 0.9899 GB, free: 9.273 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.01113, allocations: 55.41 kB / 0.9899 GB, free: 9.207 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/0.01119, allocations: 126.1 kB / 0.99 GB, free: 9.074 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01121, allocations: 37.7 kB / 0.9901 GB, free: 9.031 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.01124, allocations: 84.8 kB / 0.9902 GB, free: 8.945 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.01132, allocations: 130.8 kB / 0.9903 GB, free: 8.816 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.01138, allocations: 69.67 kB / 0.9904 GB, free: 8.742 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.01146, allocations: 330.8 kB / 0.9907 GB, free: 8.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.01173, allocations: 195.5 kB / 0.9909 GB, free: 8.219 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.01199, allocations: 195.8 kB / 0.991 GB, free: 8.027 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.01248, allocations: 369.8 kB / 0.9914 GB, free: 7.664 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01248, allocations: 0 / 0.9914 GB, free: 7.664 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000596/0.01307, allocations: 457 kB / 0.9918 GB, free: 7.211 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01309, allocations: 7.984 kB / 0.9918 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0131, allocations: 7.938 kB / 0.9918 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01311, allocations: 0 / 0.9918 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.0133, allocations: 95.86 kB / 0.9919 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01331, allocations: 0 / 0.9919 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.01341, allocations: 55.8 kB / 0.992 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01342, allocations: 15.98 kB / 0.992 GB, free: 7.031 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 8.377e-05/0.01351, allocations: 137.8 kB / 0.9921 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.01353, allocations: 15.91 kB / 0.9922 GB, free: 6.871 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/0.01445, allocations: 0.5294 MB / 0.9927 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01446, allocations: 15.92 kB / 0.9927 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01446, allocations: 0 / 0.9927 GB, free: 6.316 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01447, allocations: 3.984 kB / 0.9927 GB, free: 6.312 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01467, allocations: 268.5 kB / 0.9929 GB, free: 6.008 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01467, allocations: 0 / 0.9929 GB, free: 6.008 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.01484, allocations: 95.84 kB / 0.993 GB, free: 5.914 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01485, allocations: 7.938 kB / 0.993 GB, free: 5.906 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01486, allocations: 11.94 kB / 0.9931 GB, free: 5.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01486, allocations: 0 / 0.9931 GB, free: 5.895 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01486, allocations: 4 kB / 0.9931 GB, free: 5.891 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.01547, allocations: 496.4 kB / 0.9935 GB, free: 5.387 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01549, allocations: 23.73 kB / 0.9936 GB, free: 5.363 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01551, allocations: 19.92 kB / 0.9936 GB, free: 5.344 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.01559, allocations: 31.97 kB / 0.9936 GB, free: 5.312 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.01574, allocations: 119.8 kB / 0.9937 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01576, allocations: 15.98 kB / 0.9937 GB, free: 5.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.0158, allocations: 99.02 kB / 0.9938 GB, free: 5.086 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0158, allocations: 0 / 0.9938 GB, free: 5.086 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002637/0.01606, allocations: 111.8 kB / 0.9939 GB, free: 4.977 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.0009839/0.01705, allocations: 1.127 MB / 0.995 GB, free: 3.816 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006374/0.01768, allocations: 455.2 kB / 0.9955 GB, free: 3.371 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01769, allocations: 4 kB / 0.9955 GB, free: 3.367 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.01798, allocations: 248.3 kB / 0.9957 GB, free: 3.125 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.01825, allocations: 74.58 kB / 0.9958 GB, free: 3.055 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.02086, allocations: 2.686 MB / 0.9984 GB, free: 300 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.02093, allocations: 118.6 kB / 0.9985 GB, free: 160 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000276/0.02121, allocations: 182.8 kB / 0.9987 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.0213, allocations: 60.41 kB / 0.9987 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of SimCode: time 7.51e-07/0.0213, allocations: 0 / 0.9987 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.04005, allocations: 8.548 MB / 1.007 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.568, allocations: 1.234 kB / 1.007 GB, free: 7.629 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.488054539076984]