Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 190.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.936/2.936, allocations: 0.4893 GB / 0.7884 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 62.81 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002159/0.3178, allocations: 1.276 MB / 1.317 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.3207, allocations: 2.538 MB / 1.32 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.3207, allocations: 0 / 1.32 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.3208, allocations: 4 kB / 1.32 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.3208, allocations: 3.938 kB / 1.32 GB, free: 5.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3213, allocations: 139.4 kB / 1.32 GB, free: 5.738 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.3213, allocations: 35.84 kB / 1.32 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.3214, allocations: 4 kB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.3214, allocations: 19.92 kB / 1.32 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.3215, allocations: 23.91 kB / 1.32 GB, free: 5.656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.3215, allocations: 4 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.3218, allocations: 115.8 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3218, allocations: 7.984 kB / 1.32 GB, free: 5.531 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.3218, allocations: 15.92 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.322, allocations: 87.72 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.322, allocations: 0 / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.322, allocations: 0 / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.322, allocations: 0 / 1.32 GB, free: 5.43 MB / 1.014 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.0003612/0.3224, allocations: 274.2 kB / 1.32 GB, free: 5.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3224, allocations: 12.03 kB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3226, allocations: 16.88 kB / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.3227, allocations: 114.4 kB / 1.321 GB, free: 4.969 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3227, allocations: 384 / 1.321 GB, free: 4.969 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3227, allocations: 8.375 kB / 1.321 GB, free: 4.961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3228, allocations: 80.34 kB / 1.321 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3229, allocations: 0 / 1.321 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3229, allocations: 8 kB / 1.321 GB, free: 4.859 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3229, allocations: 4 kB / 1.321 GB, free: 4.855 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.3229, allocations: 11.92 kB / 1.321 GB, free: 4.844 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.3234, allocations: 408.3 kB / 1.321 GB, free: 4.395 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3236, allocations: 83.59 kB / 1.321 GB, free: 4.285 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.3236, allocations: 30.72 kB / 1.321 GB, free: 4.246 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3236, allocations: 0 / 1.321 GB, free: 4.246 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3236, allocations: 34.56 kB / 1.321 GB, free: 4.203 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.3236, allocations: 4 kB / 1.321 GB, free: 4.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0005337/0.3242, allocations: 221.2 kB / 1.321 GB, free: 3.949 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3242, allocations: 102.8 kB / 1.322 GB, free: 3.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.3243, allocations: 97.86 kB / 1.322 GB, free: 3.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3243, allocations: 29.7 kB / 1.322 GB, free: 3.684 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.3244, allocations: 96.27 kB / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3244, allocations: 27.75 kB / 1.322 GB, free: 3.559 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3244, allocations: 29.7 kB / 1.322 GB, free: 3.523 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3245, allocations: 318.8 kB / 1.322 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.3246, allocations: 11.98 kB / 1.322 GB, free: 3.191 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.3246, allocations: 49.16 kB / 1.322 GB, free: 3.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.3247, allocations: 73.08 kB / 1.322 GB, free: 3.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3247, allocations: 4 kB / 1.322 GB, free: 3.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.3248, allocations: 102.1 kB / 1.322 GB, free: 2.926 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3249, allocations: 9.688 kB / 1.322 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3249, allocations: 7.984 kB / 1.322 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3249, allocations: 0 / 1.322 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.325, allocations: 23.92 kB / 1.322 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.325, allocations: 4 kB / 1.322 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.325, allocations: 3.938 kB / 1.322 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.325, allocations: 4 kB / 1.322 GB, free: 2.875 MB / 1.014 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.194e-05/0.3251, allocations: 118.7 kB / 1.322 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3252, allocations: 7.953 kB / 1.322 GB, free: 2.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3252, allocations: 11.75 kB / 1.322 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3252, allocations: 4 kB / 1.323 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3252, allocations: 7.922 kB / 1.323 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3252, allocations: 7.875 kB / 1.323 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3255, allocations: 156.7 kB / 1.323 GB, free: 2.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3255, allocations: 0 / 1.323 GB, free: 2.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.3256, allocations: 12 kB / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3256, allocations: 0 / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3256, allocations: 4 kB / 1.323 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3256, allocations: 0 / 1.323 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3256, allocations: 4.062 kB / 1.323 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3258, allocations: 334 kB / 1.323 GB, free: 2.152 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3259, allocations: 11.98 kB / 1.323 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3259, allocations: 0 / 1.323 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.326, allocations: 8 kB / 1.323 GB, free: 2.133 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.3261, allocations: 11.98 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3261, allocations: 3.938 kB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.3261, allocations: 79.28 kB / 1.323 GB, free: 2.039 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3261, allocations: 0 / 1.323 GB, free: 2.039 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002993/0.3264, allocations: 16 kB / 1.323 GB, free: 2.023 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001126/0.3265, allocations: 99.78 kB / 1.323 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3266, allocations: 55.84 kB / 1.323 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3266, allocations: 0 / 1.323 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.3267, allocations: 16 kB / 1.323 GB, free: 1.844 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3271, allocations: 8 kB / 1.323 GB, free: 1.836 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.3276, allocations: 333.2 kB / 1.324 GB, free: 1.477 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3279, allocations: 0.6885 MB / 1.324 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.3279, allocations: 4 kB / 1.324 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.328, allocations: 11.44 kB / 1.324 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.328, allocations: 4 kB / 1.324 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of Templates: time 0.002889/0.3308, allocations: 0.6993 MB / 1.325 GB, free: 80 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.057590641081333]