Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001207/0.001207, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001281/0.001281, allocations: 189 kB / 22.23 MB, free: 5.137 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.311/1.311, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.862/2.862, allocations: 496 MB / 0.7835 GB, free: 33.57 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-maint.12.x/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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.48 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002664/0.3348, allocations: 1.505 MB / 1.309 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.336, allocations: 0.6267 MB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.336, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.336, allocations: 7.922 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.3361, allocations: 3.938 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.3367, allocations: 167.3 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.3368, allocations: 55.53 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3368, allocations: 4 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.3369, allocations: 23.92 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.3369, allocations: 27.91 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3369, allocations: 4 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.3375, allocations: 343.3 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.3375, allocations: 19.92 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.3375, allocations: 23.86 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3378, allocations: 183.3 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3378, allocations: 0 / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.35e-06/0.3378, allocations: 4 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3378, allocations: 0 / 1.31 GB, free: 14.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006175/0.3385, allocations: 325.8 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3385, allocations: 8.922 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3385, allocations: 8.891 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3387, allocations: 110.5 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3387, allocations: 8.312 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3387, allocations: 12.31 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3389, allocations: 78.22 kB / 1.311 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.339, allocations: 192 / 1.311 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.339, allocations: 3.938 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.339, allocations: 0 / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3392, allocations: 51.95 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.3398, allocations: 299.7 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3401, allocations: 74.53 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3402, allocations: 32.84 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.3403, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3403, allocations: 38.55 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3403, allocations: 3.938 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001597/0.3419, allocations: 0.4996 MB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3419, allocations: 59.39 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.342, allocations: 101.8 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3421, allocations: 25.7 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.3421, allocations: 92.12 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3422, allocations: 35.66 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3423, allocations: 37.64 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3424, allocations: 318.8 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3425, allocations: 31.98 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3427, allocations: 35.59 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3429, allocations: 72.95 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3429, allocations: 4 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003229/0.3432, allocations: 121.5 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3433, allocations: 4 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3433, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3433, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3434, allocations: 27.98 kB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3434, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3435, allocations: 11.92 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3435, allocations: 4 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 0.0001176/0.3436, allocations: 121.8 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3437, allocations: 7.938 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.344, allocations: 129.8 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3441, allocations: 7.984 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3441, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3441, allocations: 7.938 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.3447, allocations: 353.6 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3447, allocations: 7.938 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3448, allocations: 27.97 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3448, allocations: 0 / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3448, allocations: 7.938 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3448, allocations: 4 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3448, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.3454, allocations: 255.3 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.3454, allocations: 0 / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3454, allocations: 7.969 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3455, allocations: 7.984 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.3455, allocations: 11.98 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3455, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.3456, allocations: 79.28 kB / 1.314 GB, free: 10.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3456, allocations: 0 / 1.314 GB, free: 10.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002932/0.3459, allocations: 39.88 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002327/0.3461, allocations: 139.9 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.3464, allocations: 79.83 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3464, allocations: 0 / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3466, allocations: 40.41 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3469, allocations: 12.22 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.3476, allocations: 330.3 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3479, allocations: 0.6885 MB / 1.315 GB, free: 9.613 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.348, allocations: 16.66 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.348, allocations: 15.44 kB / 1.315 GB, free: 9.582 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.348, allocations: 0 / 1.315 GB, free: 9.582 MB / 1.014 GB Notification: Performance of Templates: time 0.003964/0.352, allocations: 1.195 MB / 1.316 GB, free: 8.43 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.06677770987153]