Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001157/0.001157, allocations: 79.75 kB / 20.08 MB, free: 4.172 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.0009564/0.0009564, 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.9483/0.9483, allocations: 177.2 MB / 204 MB, free: 4.996 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.273/2.273, allocations: 439.8 MB / 0.6839 GB, free: 12.54 MB / 0.6511 GB " [Timeout remaining time 178] 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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8403 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.26e-05, allocations: 2.312 kB / 0.8403 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002711/0.002733, allocations: 1.412 MB / 0.8417 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003703, allocations: 0.5642 MB / 0.8422 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.003734, allocations: 7.938 kB / 0.8422 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.003753, allocations: 0 / 0.8422 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.003798, allocations: 4 kB / 0.8422 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.004323, allocations: 151.2 kB / 0.8424 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.004372, allocations: 7.938 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.004411, allocations: 8 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.004447, allocations: 11.98 kB / 0.8424 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.004497, allocations: 3.984 kB / 0.8424 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.004508, allocations: 4 kB / 0.8424 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.005014, allocations: 327.3 kB / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.005031, allocations: 3.984 kB / 0.8427 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.005047, allocations: 0 / 0.8427 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.005313, allocations: 155.5 kB / 0.8429 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005316, allocations: 0 / 0.8429 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.813e-06/0.005318, allocations: 0 / 0.8429 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.005323, allocations: 0 / 0.8429 GB, free: 9.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003418/0.005665, allocations: 248.3 kB / 0.8431 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.005702, allocations: 8.625 kB / 0.8431 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.005726, allocations: 8.938 kB / 0.8431 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.005814, allocations: 109.8 kB / 0.8432 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005825, allocations: 384 / 0.8432 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.005833, allocations: 4.375 kB / 0.8432 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.089e-05/0.005904, allocations: 38.14 kB / 0.8433 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.005916, allocations: 192 / 0.8433 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.005923, allocations: 384 / 0.8433 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005929, allocations: 384 / 0.8433 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.556e-05/0.005944, allocations: 7.938 kB / 0.8433 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.434e-05/0.006039, allocations: 61.03 kB / 0.8433 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/0.006082, allocations: 22.61 kB / 0.8434 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.006096, allocations: 4.859 kB / 0.8434 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.006118, allocations: 4.062 kB / 0.8434 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.006144, allocations: 34.5 kB / 0.8434 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.006145, allocations: 0 / 0.8434 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.006254, allocations: 37.69 kB / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.006292, allocations: 55.41 kB / 0.8435 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.006358, allocations: 98.72 kB / 0.8436 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.00637, allocations: 25.95 kB / 0.8436 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.006398, allocations: 84.14 kB / 0.8437 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.006426, allocations: 7.938 kB / 0.8437 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006455, allocations: 13.72 kB / 0.8437 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.006546, allocations: 318.8 kB / 0.844 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.006557, allocations: 4 kB / 0.844 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.006567, allocations: 3.938 kB / 0.844 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.006595, allocations: 8.859 kB / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006597, allocations: 0 / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.875e-05/0.006656, allocations: 37.69 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006669, allocations: 8.094 kB / 0.8441 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006674, allocations: 0 / 0.8441 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006685, allocations: 4 kB / 0.8441 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.006834, allocations: 8 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003191/0.007153, allocations: 0.5898 MB / 0.8447 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.007174, allocations: 0 / 0.8447 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.00718, allocations: 0 / 0.8447 GB, free: 7.918 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 (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 7.02e-05/0.00725, allocations: 113.8 kB / 0.8448 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.007258, allocations: 64 / 0.8448 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.007371, allocations: 48.98 kB / 0.8448 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.007375, allocations: 3.938 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.007377, allocations: 4 kB / 0.8448 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00738, allocations: 3.938 kB / 0.8448 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.399e-05/0.007454, allocations: 65.86 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007456, allocations: 0 / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.007536, allocations: 11.92 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007539, allocations: 0 / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.007545, allocations: 4 kB / 0.8449 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002761/0.007821, allocations: 0.5821 MB / 0.8455 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007822, allocations: 0 / 0.8455 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.869e-05/0.007891, allocations: 65.06 kB / 0.8455 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007903, allocations: 11.86 kB / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.007912, allocations: 0 / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.007926, allocations: 0 / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.007938, allocations: 0 / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.007942, allocations: 7.984 kB / 0.8456 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.179e-05/0.007954, allocations: 4.859 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.007954, allocations: 4.188 kB / 0.8456 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001915/0.008146, allocations: 19.94 kB / 0.8456 GB, free: 6.895 MB / 0.8073 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.0002116/0.008357, allocations: 104.3 kB / 0.8457 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.008467, allocations: 20.84 kB / 0.8457 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.00847, allocations: 0 / 0.8457 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.008504, allocations: 16.8 kB / 0.8457 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.202e-05/0.008576, allocations: 3.938 kB / 0.8457 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.008859, allocations: 115.6 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.008893, allocations: 59.34 kB / 0.8459 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.008917, allocations: 0 / 0.8459 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.008958, allocations: 51.38 kB / 0.8459 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.008959, allocations: 0 / 0.8459 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of Templates: time 0.002634/0.01159, allocations: 0.607 MB / 0.8465 GB, free: 5.902 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_inv.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.166314946487546]