Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0009433/0.0009433, allocations: 83.73 kB / 20.09 MB, free: 4.164 MB / 18.57 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.0009698/0.0009698, allocations: 156.9 kB / 23.51 MB, free: 0.75 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.8864/0.8864, allocations: 177.1 MB / 204 MB, free: 5.023 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 2.272/2.272, allocations: 439.8 MB / 0.6839 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8403 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.411e-05, allocations: 6.25 kB / 0.8403 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.00169/0.001704, allocations: 1.442 MB / 0.8417 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.002431, allocations: 0.5914 MB / 0.8423 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.002462, allocations: 0 / 0.8423 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.00248, allocations: 7.922 kB / 0.8423 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002515, allocations: 0 / 0.8423 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.002925, allocations: 151.2 kB / 0.8424 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.002977, allocations: 27.92 kB / 0.8425 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.00301, allocations: 3.938 kB / 0.8425 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.003045, allocations: 23.91 kB / 0.8425 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.003097, allocations: 11.98 kB / 0.8425 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.003107, allocations: 4 kB / 0.8425 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.003446, allocations: 323.3 kB / 0.8428 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.003463, allocations: 11.98 kB / 0.8428 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.003481, allocations: 11.94 kB / 0.8428 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.003668, allocations: 167.5 kB / 0.843 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00367, allocations: 0 / 0.843 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003671, allocations: 0 / 0.843 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.003674, allocations: 0 / 0.843 GB, free: 9.816 MB / 0.8073 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.0002731/0.003947, allocations: 268.2 kB / 0.8432 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.003978, allocations: 8.031 kB / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.004, allocations: 8.938 kB / 0.8433 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.469e-05/0.004075, allocations: 121.6 kB / 0.8434 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.004083, allocations: 384 / 0.8434 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.004104, allocations: 8.328 kB / 0.8434 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.004182, allocations: 97.66 kB / 0.8435 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.00419, allocations: 192 / 0.8435 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004196, allocations: 4.375 kB / 0.8435 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.004201, allocations: 384 / 0.8435 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.004224, allocations: 15.92 kB / 0.8435 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.949e-05/0.004304, allocations: 65.05 kB / 0.8436 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.004368, allocations: 50.56 kB / 0.8436 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.004387, allocations: 20.84 kB / 0.8436 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.004398, allocations: 0 / 0.8436 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.004419, allocations: 38.56 kB / 0.8437 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.00442, allocations: 0 / 0.8437 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0006718/0.005092, allocations: 435.3 kB / 0.8441 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.005117, allocations: 55.41 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.005163, allocations: 106.6 kB / 0.8442 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005173, allocations: 29.7 kB / 0.8443 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.005192, allocations: 80.14 kB / 0.8443 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.005223, allocations: 43.62 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.005253, allocations: 29.7 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.00533, allocations: 318.8 kB / 0.8447 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.005342, allocations: 12 kB / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.368e-05/0.005356, allocations: 11.98 kB / 0.8447 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.005401, allocations: 40.81 kB / 0.8448 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.005401, allocations: 4 kB / 0.8448 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 5.839e-05/0.00546, allocations: 68.62 kB / 0.8448 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.005471, allocations: 7.938 kB / 0.8448 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.005477, allocations: 7.969 kB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.005502, allocations: 4 kB / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.005569, allocations: 24 kB / 0.8449 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005572, allocations: 3.938 kB / 0.8449 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.005584, allocations: 0 / 0.8449 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.00559, allocations: 8.297 kB / 0.8449 GB, free: 7.645 MB / 0.8073 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 4.809e-05/0.005639, allocations: 113.8 kB / 0.845 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.005648, allocations: 4 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.005743, allocations: 85.81 kB / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005745, allocations: 0 / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005746, allocations: 0 / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.00575, allocations: 3.938 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.006182, allocations: 230.7 kB / 0.8453 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006183, allocations: 0 / 0.8453 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.00625, allocations: 23.98 kB / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006252, allocations: 0 / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006257, allocations: 0 / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006258, allocations: 4 kB / 0.8453 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.00626, allocations: 3.938 kB / 0.8453 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006381, allocations: 183.8 kB / 0.8455 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006388, allocations: 3.953 kB / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.006398, allocations: 8 kB / 0.8455 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.006435, allocations: 0 / 0.8455 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.006449, allocations: 11.92 kB / 0.8455 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006454, allocations: 0 / 0.8455 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.07e-05/0.006464, allocations: 16.84 kB / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006464, allocations: 0 / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001855/0.00665, allocations: 55.75 kB / 0.8456 GB, free: 6.855 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001662/0.006816, allocations: 156.1 kB / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.631e-05/0.006892, allocations: 52.83 kB / 0.8458 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.006895, allocations: 0 / 0.8458 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.006917, allocations: 32.83 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.007017, allocations: 6.062 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.007422, allocations: 240 kB / 0.8461 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.007516, allocations: 55.36 kB / 0.8461 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.007548, allocations: 15.98 kB / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.007591, allocations: 63.38 kB / 0.8462 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.007591, allocations: 0 / 0.8462 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.003352/0.01094, allocations: 1.563 MB / 0.8477 GB, free: 4.68 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.088853158056736]