Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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.001439/0.001439, allocations: 99.66 kB / 18.94 MB, free: 2.832 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.001651/0.001651, allocations: 219.6 kB / 22.25 MB, free: 5.105 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.824 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.905/2.905, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",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.001926/0.001926, allocations: 70.41 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002094/0.294, allocations: 1.282 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003569/0.2976, allocations: 3.084 MB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.2976, allocations: 4 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.2976, allocations: 0 / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.2976, allocations: 7.922 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.2981, allocations: 103.5 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.2982, allocations: 39.84 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.2982, allocations: 4 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.2982, allocations: 15.98 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.2983, allocations: 15.92 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2983, allocations: 0 / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.2985, allocations: 71.8 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2985, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2985, allocations: 15.94 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2987, allocations: 72 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2987, allocations: 8 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2987, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2987, allocations: 0 / 1.368 GB, free: 9.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003533/0.2991, allocations: 262.3 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2991, allocations: 12.03 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2991, allocations: 38.73 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.2992, allocations: 8.891 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.2993, allocations: 114.4 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2993, allocations: 384 / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.2993, allocations: 12.36 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2995, allocations: 134.7 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2995, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2995, allocations: 4 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.2995, allocations: 4 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.2996, allocations: 19.91 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2997, allocations: 132.8 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.2998, allocations: 50.55 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.2998, allocations: 16.86 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.3003, allocations: 241.8 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3004, allocations: 46.48 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3004, allocations: 4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005003/0.3009, allocations: 221.5 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3009, allocations: 55.41 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.301, allocations: 101.8 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.301, allocations: 25.7 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.301, allocations: 88.08 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3011, allocations: 27.75 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.3011, allocations: 29.7 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3012, allocations: 318.8 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.3013, allocations: 15.98 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.3013, allocations: 49.16 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.462e-05/0.3014, allocations: 81.02 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3014, allocations: 448 / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001327/0.3015, allocations: 93.5 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3015, allocations: 4.125 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3016, allocations: 8 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3016, allocations: 0 / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.3016, allocations: 31.98 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3016, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.3017, allocations: 12.16 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3017, allocations: 4 kB / 1.37 GB, free: 6.887 MB / 1.061 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 8.028e-05/0.3018, allocations: 113.8 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3018, allocations: 4 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.3018, allocations: 12.05 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3018, allocations: 8 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3018, allocations: 0 / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3018, allocations: 7.922 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.3021, allocations: 140.8 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3021, allocations: 3.938 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.3021, allocations: 12 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3021, allocations: 3.984 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3022, allocations: 4 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3022, allocations: 0 / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3022, allocations: 3.938 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3023, allocations: 175.5 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3024, allocations: 12.03 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3024, allocations: 4 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.3025, allocations: 4 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3025, allocations: 11.92 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3025, allocations: 0 / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.3025, allocations: 79.28 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3025, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002277/0.3028, allocations: 12 kB / 1.371 GB, free: 6.215 MB / 1.061 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.0004799/0.3032, allocations: 0.7085 MB / 1.371 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3034, allocations: 39.95 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3034, allocations: 0 / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.3034, allocations: 23.92 kB / 1.371 GB, free: 5.418 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3037, allocations: 11.94 kB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3051, allocations: 1.533 MB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.3052, allocations: 71.33 kB / 1.373 GB, free: 3.672 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.3052, allocations: 4.062 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3052, allocations: 15.44 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3052, allocations: 0 / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3345, allocations: 2.197 MB / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.36, allocations: 5.875 kB / 1.375 GB, free: 1.594 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.296897083055228]