Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.00188/0.00188, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 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.002072/0.002072, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.564/3.564, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.943e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003086/0.003115, allocations: 1.518 MB / 0.879 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.00434, allocations: 0.5967 MB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.004377, allocations: 4 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.004405, allocations: 3.938 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.004463, allocations: 11.08 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.005073, allocations: 163.2 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.005175, allocations: 51.84 kB / 0.8798 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.005212, allocations: 0 / 0.8798 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.005318, allocations: 36.83 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.005365, allocations: 19.97 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.005386, allocations: 4 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.005897, allocations: 280.5 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.005919, allocations: 7.984 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.005959, allocations: 19.92 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.006316, allocations: 188.4 kB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006319, allocations: 0 / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00632, allocations: 0 / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.006325, allocations: 1.219 kB / 0.8803 GB, free: 3.766 MB / 0.8386 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.000685/0.00701, allocations: 427.8 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.007046, allocations: 8.531 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.007109, allocations: 17.8 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.007235, allocations: 112.5 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.00726, allocations: 4.375 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.00729, allocations: 15.77 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.007546, allocations: 125.6 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007557, allocations: 192 / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.007568, allocations: 4.375 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.007572, allocations: 384 / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.007785, allocations: 47.91 kB / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.008348, allocations: 315.6 kB / 0.8813 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.00862, allocations: 80.91 kB / 0.8814 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.00872, allocations: 31.61 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.008742, allocations: 3.938 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.008781, allocations: 38.92 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.008782, allocations: 0 / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.00158/0.01036, allocations: 0.5045 MB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.0104, allocations: 51.41 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.01054, allocations: 169.9 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.01057, allocations: 29.7 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.01065, allocations: 130.8 kB / 0.8823 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.0107, allocations: 43.69 kB / 0.8824 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.01076, allocations: 31.36 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002673/0.01103, allocations: 0.4922 MB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01114, allocations: 31.98 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01125, allocations: 28.11 kB / 0.8829 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.01147, allocations: 79.09 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01147, allocations: 0 / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003225/0.01179, allocations: 113.6 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01181, allocations: 4 kB / 0.8831 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01181, allocations: 4 kB / 0.8831 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01182, allocations: 0 / 0.8831 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01197, allocations: 31.92 kB / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01197, allocations: 3.938 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.01202, allocations: 3.984 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01204, allocations: 12 kB / 0.8832 GB, free: 0.543 MB / 0.8386 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.0001243/0.01216, allocations: 164.5 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.0122, allocations: 7.953 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.01256, allocations: 121.8 kB / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01257, allocations: 0 / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01257, allocations: 0 / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01257, allocations: 7.938 kB / 0.8835 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.01317, allocations: 377.3 kB / 0.8838 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01317, allocations: 0 / 0.8838 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.0133, allocations: 19.98 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01331, allocations: 4 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01332, allocations: 4 kB / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01332, allocations: 3.938 kB / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01332, allocations: 0 / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.01385, allocations: 299.7 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01387, allocations: 11.98 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01388, allocations: 3.984 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.01398, allocations: 4 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01401, allocations: 7.984 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01402, allocations: 4 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001593/0.01418, allocations: 123.2 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01418, allocations: 0 / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002868/0.01446, allocations: 47.8 kB / 0.8843 GB, free: 15.28 MB / 0.8542 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.0002448/0.01471, allocations: 131 kB / 0.8845 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.015, allocations: 87.64 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.01501, allocations: 0 / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.01514, allocations: 51.59 kB / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.0154, allocations: 15.88 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.016, allocations: 270.9 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.0161, allocations: 91.12 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.502e-05/0.01615, allocations: 12.77 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01619, allocations: 16.5 kB / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01619, allocations: 0 / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.004537/0.02073, allocations: 1.159 MB / 0.8861 GB, free: 13.44 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.79038565501105]