Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001525/0.001525, allocations: 110.8 kB / 17.07 MB, free: 6.051 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.001582/0.001582, allocations: 193.2 kB / 20.02 MB, free: 3.141 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.401/1.401, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.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 2.859/2.859, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8651/0.8671, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002361/0.8695, allocations: 1.263 MB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.8705, allocations: 0.5795 MB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.8705, allocations: 0 / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.8705, allocations: 4.656 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.8706, allocations: 5.344 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.8711, allocations: 144.2 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.8712, allocations: 14.38 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.8712, allocations: 2.156 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.8712, allocations: 3.094 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.8713, allocations: 10.88 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.8713, allocations: 0.7812 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.8719, allocations: 339.6 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.8719, allocations: 1.547 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.8719, allocations: 10.17 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.8722, allocations: 137 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8722, allocations: 0 / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8722, allocations: 0 / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8722, allocations: 1.281 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003205/0.8726, allocations: 352.3 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.8726, allocations: 12.69 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.8726, allocations: 6.625 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.8727, allocations: 162.3 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.8727, allocations: 1.094 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.8728, allocations: 5.125 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/0.8728, allocations: 31.84 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8728, allocations: 192 / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.8729, allocations: 4.562 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.8729, allocations: 0 / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.8729, allocations: 3.688 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.873, allocations: 155.7 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.8731, allocations: 32.95 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.8731, allocations: 7.703 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.8731, allocations: 0.7812 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.8731, allocations: 31.8 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8731, allocations: 0.8125 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001299/0.8733, allocations: 44.17 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.8733, allocations: 56.75 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.8733, allocations: 98.25 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.8734, allocations: 25.7 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/0.8734, allocations: 81.56 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.8734, allocations: 9.375 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.8734, allocations: 12.66 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.8735, allocations: 313.2 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.8735, allocations: 1.641 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.8735, allocations: 2.828 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.8735, allocations: 19.19 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8736, allocations: 3.938 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.345e-05/0.8736, allocations: 43.03 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8736, allocations: 9.984 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.8736, allocations: 4.844 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8737, allocations: 0.5625 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.8738, allocations: 9.844 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002225/0.874, allocations: 0.5836 MB / 1.267 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.8741, allocations: 4.562 kB / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.8741, allocations: 1.469 kB / 1.267 GB, free: 4.262 MB / 0.9981 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.8741, allocations: 115.8 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.8741, allocations: 4.766 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.271e-05/0.8742, allocations: 52.28 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8742, allocations: 4.641 kB / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8742, allocations: 0.7188 kB / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8743, allocations: 0.5156 kB / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.498e-05/0.8743, allocations: 159.6 kB / 1.267 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8743, allocations: 0 / 1.267 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.8744, allocations: 9.922 kB / 1.267 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.8744, allocations: 1.594 kB / 1.267 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.8744, allocations: 0.5156 kB / 1.267 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001563/0.8746, allocations: 0.5834 MB / 1.268 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8746, allocations: 4.641 kB / 1.268 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.028e-05/0.8746, allocations: 65.2 kB / 1.268 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.8747, allocations: 77.91 kB / 1.268 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.8747, allocations: 1.891 kB / 1.268 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.8747, allocations: 1.031 kB / 1.268 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.8747, allocations: 9.938 kB / 1.268 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.8747, allocations: 0 / 1.268 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.608e-05/0.8747, allocations: 82.14 kB / 1.268 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8747, allocations: 0 / 1.268 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001816/0.8749, allocations: 7.312 kB / 1.268 GB, free: 3.051 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.8751, allocations: 112 kB / 1.268 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.8752, allocations: 20.81 kB / 1.268 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8752, allocations: 4.875 kB / 1.268 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/0.8753, allocations: 16.92 kB / 1.268 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.8755, allocations: 5.438 kB / 1.268 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.8757, allocations: 135.3 kB / 1.268 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.8758, allocations: 0.6738 MB / 1.269 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.8758, allocations: 11.91 kB / 1.269 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.8759, allocations: 4.688 kB / 1.269 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.002576/0.8784, allocations: 0.6959 MB / 1.27 GB, free: 2.055 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 10.842314404901117]