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.0007797/0.0007797, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009287/0.0009287, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 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 1.73/1.73, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.86e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001732/0.00175, allocations: 1.263 MB / 1.001 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.004349, allocations: 3.064 MB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.004376, allocations: 0 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.004392, allocations: 11.88 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.004425, allocations: 7.938 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.004827, allocations: 111.4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.004897, allocations: 35.86 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.769e-05/0.004925, allocations: 7.984 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.004971, allocations: 23.91 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.005017, allocations: 15.97 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.005027, allocations: 7.938 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.00518, allocations: 63.83 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.005193, allocations: 11.97 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.005211, allocations: 8 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.005338, allocations: 75.72 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005339, allocations: 4 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.92e-07/0.00534, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005344, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 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.0002772/0.005621, allocations: 274.2 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.005657, allocations: 16.73 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.584e-05/0.005683, allocations: 30.75 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.005743, allocations: 8.938 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.904e-05/0.005802, allocations: 105.8 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.005815, allocations: 8.375 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.005833, allocations: 4.375 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005952, allocations: 139.3 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005959, allocations: 192 / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.005967, allocations: 3.938 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005971, allocations: 0 / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.006017, allocations: 27.91 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.006128, allocations: 128.7 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.006197, allocations: 58.53 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.006217, allocations: 12.86 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.006601, allocations: 250 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.006621, allocations: 38.56 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.006621, allocations: 0 / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.007023, allocations: 221.1 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.007047, allocations: 55.41 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.007093, allocations: 101.8 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.007102, allocations: 25.7 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.007134, allocations: 96.02 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.007147, allocations: 23.81 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.007176, allocations: 29.7 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.007247, allocations: 318.8 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.007264, allocations: 15.92 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.0073, allocations: 53.16 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.007359, allocations: 69.08 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.00736, allocations: 7.938 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.257e-05/0.007443, allocations: 93.55 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.007452, allocations: 4 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007458, allocations: 4 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007468, allocations: 0 / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.007514, allocations: 23.98 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.00752, allocations: 4 kB / 1.006 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.00754, allocations: 0 / 1.006 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.007545, allocations: 4 kB / 1.006 GB, free: 6.312 MB / 0.9636 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 5.459e-05/0.0076, allocations: 129.8 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.007614, allocations: 7.953 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.007634, allocations: 8.125 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.007634, allocations: 0 / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007638, allocations: 0 / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007642, allocations: 4.422 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.007777, allocations: 152.8 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.007777, allocations: 0 / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.00782, allocations: 16 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007822, allocations: 3.984 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.007827, allocations: 4 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007827, allocations: 3.938 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-07/0.007827, allocations: 4 kB / 1.007 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.007943, allocations: 167.7 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.872e-05/0.007962, allocations: 11.98 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.00797, allocations: 0 / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.008025, allocations: 8.094 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.008038, allocations: 7.969 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.008042, allocations: 4 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.008061, allocations: 75.28 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008061, allocations: 8 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001514/0.008213, allocations: 12 kB / 1.007 GB, free: 5.633 MB / 0.9636 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.0002573/0.00847, allocations: 0.7084 MB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.008545, allocations: 39.97 kB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008547, allocations: 0 / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.008562, allocations: 23.92 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.008752, allocations: 4 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.009707, allocations: 1.475 MB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.009744, allocations: 67.34 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.009772, allocations: 8.062 kB / 1.009 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.009801, allocations: 16.5 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.009802, allocations: 0 / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.0242, allocations: 2.33 MB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.379/6.404, allocations: 6.125 kB / 1.012 GB, free: 0.9375 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/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: 10.350379589945078]