Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001317/0.001317, allocations: 104.9 kB / 16.4 MB, free: 6.449 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.001343/0.001343, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.392/1.392, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.1 MB / 0.7171 GB, free: 4.09 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.91 kB / 1.027 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9012, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001997/0.9033, allocations: 1.264 MB / 1.176 GB, free: 16.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.9041, allocations: 0.5882 MB / 1.176 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.9042, allocations: 0 / 1.176 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.9042, allocations: 0 / 1.176 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.9042, allocations: 8.578 kB / 1.176 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.9047, allocations: 140.6 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.9048, allocations: 5.766 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.9048, allocations: 4.328 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.9048, allocations: 5.438 kB / 1.177 GB, free: 16.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.9049, allocations: 8.156 kB / 1.177 GB, free: 16.1 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-06/0.9049, allocations: 0 / 1.177 GB, free: 16.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.9054, allocations: 340.2 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.9054, allocations: 4.656 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.9054, allocations: 3.219 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.9057, allocations: 148 kB / 1.177 GB, free: 15.95 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9057, allocations: 6.281 kB / 1.177 GB, free: 15.95 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9057, allocations: 4 kB / 1.177 GB, free: 15.94 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.9057, allocations: 0 / 1.177 GB, free: 15.94 MB / 0.92 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.0003002/0.906, allocations: 348.6 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9061, allocations: 9.125 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.358e-05/0.9061, allocations: 32.55 kB / 1.178 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.9061, allocations: 0.9375 kB / 1.178 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.9062, allocations: 170.8 kB / 1.178 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.9062, allocations: 5.875 kB / 1.178 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.9062, allocations: 384 / 1.178 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.9063, allocations: 36.72 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9063, allocations: 7.875 kB / 1.178 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.9064, allocations: 0 / 1.178 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9064, allocations: 0 / 1.178 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.9064, allocations: 4.688 kB / 1.178 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.9065, allocations: 150.8 kB / 1.178 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.9066, allocations: 29.06 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.9066, allocations: 15.67 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.9066, allocations: 4.641 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.9066, allocations: 31.84 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9066, allocations: 0 / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001279/0.9068, allocations: 46.11 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.9068, allocations: 55.34 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.9068, allocations: 97.94 kB / 1.178 GB, free: 14.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.9068, allocations: 25.7 kB / 1.178 GB, free: 14.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 1.281e-05/0.9069, allocations: 81.94 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.9069, allocations: 9.906 kB / 1.178 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.9069, allocations: 12.47 kB / 1.178 GB, free: 14.65 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.907, allocations: 312.2 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.907, allocations: 2.312 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.907, allocations: 3.234 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.907, allocations: 18.14 kB / 1.179 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.907, allocations: 0 / 1.179 GB, free: 14.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.288e-05/0.9071, allocations: 44.45 kB / 1.179 GB, free: 14.29 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9071, allocations: 9.406 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.9071, allocations: 3.938 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9071, allocations: 2.078 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.9073, allocations: 13.14 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002128/0.9075, allocations: 0.5841 MB / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.9075, allocations: 0 / 1.179 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.9075, allocations: 2.156 kB / 1.179 GB, free: 13.68 MB / 0.92 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.511e-05/0.9076, allocations: 114.2 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-06/0.9076, allocations: 1.094 kB / 1.179 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.9077, allocations: 47.75 kB / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9077, allocations: 0.75 kB / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9077, allocations: 5.312 kB / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.9077, allocations: 0 / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.435e-05/0.9078, allocations: 155.4 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9078, allocations: 0 / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.9079, allocations: 10.91 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9079, allocations: 1.156 kB / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.9079, allocations: 0 / 1.18 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001624/0.9081, allocations: 0.5913 MB / 1.18 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9081, allocations: 7.875 kB / 1.18 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.36e-05/0.9081, allocations: 66.17 kB / 1.18 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.9082, allocations: 79.09 kB / 1.18 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.9082, allocations: 0 / 1.18 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.9082, allocations: 1.25 kB / 1.18 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.9082, allocations: 4.547 kB / 1.18 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.9082, allocations: 2.094 kB / 1.18 GB, free: 12.55 MB / 0.92 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.9082, allocations: 86.45 kB / 1.18 GB, free: 12.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9082, allocations: 0 / 1.18 GB, free: 12.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001911/0.9084, allocations: 10.56 kB / 1.18 GB, free: 12.46 MB / 0.92 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.0002517/0.9087, allocations: 0.6136 MB / 1.181 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.9089, allocations: 20.22 kB / 1.181 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9089, allocations: 1.438 kB / 1.181 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.909, allocations: 12.45 kB / 1.181 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.9091, allocations: 7.125 kB / 1.181 GB, free: 11.85 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.9095, allocations: 128.8 kB / 1.181 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.9096, allocations: 0.6787 MB / 1.182 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.427e-05/0.9096, allocations: 0.7031 kB / 1.182 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.9096, allocations: 8.938 kB / 1.182 GB, free: 11 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.9096, allocations: 0 / 1.182 GB, free: 11 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.9337, allocations: 1.398 MB / 1.183 GB, free: 10.65 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.88, allocations: 9.531 kB / 1.183 GB, free: 10.64 MB / 0.92 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.648571139201522]