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.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.001311/0.001311, allocations: 110.4 kB / 16.46 MB, free: 6.504 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.0013/0.0013, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.144/3.144, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.23 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002391/0.3529, allocations: 1.264 MB / 1.305 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003935/0.3569, allocations: 3.276 MB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3569, allocations: 4 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3569, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.357, allocations: 7.922 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.3576, allocations: 111.5 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.3577, allocations: 39.78 kB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3577, allocations: 4 kB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.3578, allocations: 15.98 kB / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.3578, allocations: 19.92 kB / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3578, allocations: 0 / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.3581, allocations: 87.78 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.3581, allocations: 4 kB / 1.309 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.3581, allocations: 19.91 kB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3584, allocations: 76.02 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3584, allocations: 0 / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3584, allocations: 0 / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3584, allocations: 0 / 1.309 GB, free: 12.6 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.0005646/0.3589, allocations: 347.4 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.359, allocations: 8.625 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.359, allocations: 42.75 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3591, allocations: 8.891 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3593, allocations: 164.3 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3593, allocations: 8.375 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3593, allocations: 8.359 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3595, allocations: 65.52 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3595, allocations: 7.938 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3595, allocations: 0 / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3595, allocations: 0 / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.3595, allocations: 19.98 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3598, allocations: 161.7 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3599, allocations: 50.55 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.3599, allocations: 16.8 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008239/0.3607, allocations: 0.5987 MB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3607, allocations: 34.55 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3607, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006396/0.3614, allocations: 306.2 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3614, allocations: 51.41 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.3615, allocations: 101.8 kB / 1.311 GB, free: 10.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3615, allocations: 25.7 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.3616, allocations: 92.08 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3616, allocations: 23.8 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3617, allocations: 33.66 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3618, allocations: 318.8 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.3619, allocations: 15.98 kB / 1.311 GB, free: 9.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.3619, allocations: 49.09 kB / 1.311 GB, free: 9.684 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.362, allocations: 77.08 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.362, allocations: 0 / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001391/0.3622, allocations: 93.55 kB / 1.311 GB, free: 9.492 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3622, allocations: 8 kB / 1.311 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3622, allocations: 0 / 1.311 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3622, allocations: 4 kB / 1.311 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.3623, allocations: 24.11 kB / 1.311 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3623, allocations: 3.938 kB / 1.311 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.3623, allocations: 8.375 kB / 1.311 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3623, allocations: 7.938 kB / 1.311 GB, free: 9.438 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 8.626e-05/0.3624, allocations: 117.8 kB / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.3624, allocations: 3.953 kB / 1.312 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3625, allocations: 8.25 kB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3625, allocations: 4 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3625, allocations: 7.984 kB / 1.312 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3625, allocations: 11.92 kB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3627, allocations: 177.7 kB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3627, allocations: 0 / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.3628, allocations: 12 kB / 1.312 GB, free: 9.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3628, allocations: 3.938 kB / 1.312 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3628, allocations: 4 kB / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3628, allocations: 3.938 kB / 1.312 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3628, allocations: 0 / 1.312 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.363, allocations: 171.5 kB / 1.312 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3631, allocations: 93.09 kB / 1.312 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3631, allocations: 0 / 1.312 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3632, allocations: 4 kB / 1.312 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.3632, allocations: 3.938 kB / 1.312 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3632, allocations: 4 kB / 1.312 GB, free: 8.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.3633, allocations: 83.27 kB / 1.312 GB, free: 8.645 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3633, allocations: 0 / 1.312 GB, free: 8.645 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002299/0.3635, allocations: 12 kB / 1.312 GB, free: 8.633 MB / 1.014 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.0004987/0.364, allocations: 0.7085 MB / 1.313 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.3641, allocations: 39.97 kB / 1.313 GB, free: 7.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3641, allocations: 0 / 1.313 GB, free: 7.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.3642, allocations: 16.19 kB / 1.313 GB, free: 7.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3645, allocations: 22.27 kB / 1.313 GB, free: 7.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3662, allocations: 1.535 MB / 1.314 GB, free: 6.172 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.3666, allocations: 0.6807 MB / 1.315 GB, free: 5.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.3667, allocations: 11.98 kB / 1.315 GB, free: 5.453 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3667, allocations: 11.44 kB / 1.315 GB, free: 5.445 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3667, allocations: 0 / 1.315 GB, free: 5.445 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.3923, allocations: 1.674 MB / 1.317 GB, free: 3.859 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.278, allocations: 4.453 kB / 1.317 GB, free: 3.859 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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: 14.89256543200463]