Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001855/0.001855, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001877/0.001877, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.979/2.979, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.955e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002298/0.002337, allocations: 1.281 MB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.006222, allocations: 2.759 MB / 0.9853 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.006251, allocations: 0 / 0.9853 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.006274, allocations: 7.922 kB / 0.9853 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.006317, allocations: 3.938 kB / 0.9853 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.006856, allocations: 107.4 kB / 0.9854 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.006939, allocations: 35.84 kB / 0.9855 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.006981, allocations: 4 kB / 0.9855 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.00757, allocations: 195.3 kB / 0.9857 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.007614, allocations: 19.91 kB / 0.9857 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.007626, allocations: 0 / 0.9857 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.007767, allocations: 51.89 kB / 0.9857 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.007792, allocations: 15.91 kB / 0.9857 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.007817, allocations: 8 kB / 0.9858 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.007991, allocations: 59.86 kB / 0.9858 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007994, allocations: 7.938 kB / 0.9858 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.002e-06/0.007995, allocations: 0 / 0.9858 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.008006, allocations: 3.984 kB / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004028/0.008408, allocations: 274.2 kB / 0.9861 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.008446, allocations: 8.031 kB / 0.9861 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.008488, allocations: 8.922 kB / 0.9861 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.008586, allocations: 109.8 kB / 0.9862 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.008597, allocations: 4.375 kB / 0.9862 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.008624, allocations: 4.375 kB / 0.9862 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.008817, allocations: 135.3 kB / 0.9863 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.00883, allocations: 4.172 kB / 0.9863 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.008843, allocations: 4.125 kB / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.008849, allocations: 8 kB / 0.9864 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.008904, allocations: 15.92 kB / 0.9864 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.009074, allocations: 109.3 kB / 0.9865 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.00918, allocations: 54.55 kB / 0.9865 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.009208, allocations: 8.859 kB / 0.9865 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.009777, allocations: 250 kB / 0.9868 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.00981, allocations: 34.56 kB / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.009811, allocations: 0 / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005996/0.01041, allocations: 221.2 kB / 0.987 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.01045, allocations: 59.41 kB / 0.9871 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.01053, allocations: 101.8 kB / 0.9872 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01056, allocations: 29.7 kB / 0.9872 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.01061, allocations: 88.08 kB / 0.9873 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.01064, allocations: 27.75 kB / 0.9873 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.01068, allocations: 29.7 kB / 0.9873 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01081, allocations: 310.8 kB / 0.9876 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.01085, allocations: 19.92 kB / 0.9877 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.01091, allocations: 49.16 kB / 0.9877 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01102, allocations: 84.95 kB / 0.9878 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01102, allocations: 0 / 0.9878 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001527/0.01117, allocations: 97.73 kB / 0.9879 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01119, allocations: 4 kB / 0.9879 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.0112, allocations: 4 kB / 0.9879 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01121, allocations: 3.984 kB / 0.9879 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.01129, allocations: 23.97 kB / 0.9879 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.0113, allocations: 8.125 kB / 0.9879 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.01134, allocations: 4 kB / 0.9879 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01135, allocations: 4 kB / 0.9879 GB, free: 4.992 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.391e-05/0.01144, allocations: 121.7 kB / 0.988 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.01148, allocations: 4 kB / 0.988 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.01151, allocations: 8.125 kB / 0.9881 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01151, allocations: 0 / 0.9881 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01151, allocations: 0 / 0.9881 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01152, allocations: 3.984 kB / 0.9881 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.01174, allocations: 125.2 kB / 0.9882 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01174, allocations: 4 kB / 0.9882 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.01183, allocations: 16 kB / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01184, allocations: 448 / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.01184, allocations: 0 / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01184, allocations: 0 / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01185, allocations: 4 kB / 0.9882 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.01205, allocations: 179.4 kB / 0.9884 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.01207, allocations: 8.031 kB / 0.9884 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.01209, allocations: 4 kB / 0.9884 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.0122, allocations: 0 / 0.9884 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.01222, allocations: 7.984 kB / 0.9884 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01222, allocations: 8 kB / 0.9884 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.01227, allocations: 83.22 kB / 0.9885 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01227, allocations: 0 / 0.9885 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002528/0.01252, allocations: 12 kB / 0.9885 GB, free: 4.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001348/0.01265, allocations: 99.25 kB / 0.9886 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.01279, allocations: 43.98 kB / 0.9886 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01279, allocations: 0 / 0.9886 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.01282, allocations: 24.17 kB / 0.9887 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01311, allocations: 10.12 kB / 0.9887 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.01365, allocations: 260.9 kB / 0.9889 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.01371, allocations: 67.34 kB / 0.989 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.552e-05/0.01375, allocations: 7.984 kB / 0.989 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.01378, allocations: 12.5 kB / 0.989 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.01378, allocations: 0 / 0.989 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.003391/0.01717, allocations: 0.624 MB / 0.9896 GB, free: 3.18 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.283093255013227]