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.001413/0.001413, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001429/0.001429, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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.35/2.35, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 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.00181/0.00181, allocations: 67.89 kB / 1.059 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2635, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002245/0.2658, allocations: 1.263 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.2667, allocations: 0.6004 MB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.2667, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2668, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.2668, allocations: 3.938 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.2673, allocations: 143.4 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.2674, allocations: 7.938 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.2674, allocations: 4 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.2674, allocations: 4 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.2675, allocations: 7.984 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.2675, allocations: 0 / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.268, allocations: 347.3 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-06/0.268, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.268, allocations: 7.938 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2683, allocations: 139.9 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2683, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2683, allocations: 3.938 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2683, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 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.0003858/0.2687, allocations: 355.1 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2687, allocations: 8.031 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.2687, allocations: 30.75 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.2688, allocations: 8.938 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2689, allocations: 164.4 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.2689, allocations: 384 / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2689, allocations: 4.312 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.269, allocations: 30.27 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.269, allocations: 7.938 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.269, allocations: 0 / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.269, allocations: 3.938 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.269, allocations: 4 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.2692, allocations: 153.7 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.2692, allocations: 22.61 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.2692, allocations: 16.84 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.2693, allocations: 4 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2693, allocations: 34.55 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2693, allocations: 0 / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.2694, allocations: 41.64 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2694, allocations: 55.41 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.2695, allocations: 89.86 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2695, allocations: 25.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.2696, allocations: 92.38 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2696, allocations: 7.953 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.2696, allocations: 9.719 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2697, allocations: 314.8 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.2697, allocations: 3.938 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.2698, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.2698, allocations: 16.8 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2698, allocations: 64 / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7e-05/0.2699, allocations: 49.64 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2699, allocations: 7.938 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2699, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2699, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.27, allocations: 11.98 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003647/0.2704, allocations: 0.5821 MB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.2704, allocations: 4.125 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2704, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 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.464e-05/0.2705, allocations: 109.8 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.2705, allocations: 4.031 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.2706, allocations: 48.75 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2706, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.2706, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2706, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2707, allocations: 169.6 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2707, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.2708, allocations: 11.98 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2708, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.2708, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003409/0.2712, allocations: 0.5821 MB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2712, allocations: 3.938 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.24e-05/0.2712, allocations: 73.19 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.2713, allocations: 81.05 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.2713, allocations: 0 / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.2713, allocations: 0 / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.2713, allocations: 3.938 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2713, allocations: 4 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.2714, allocations: 79.28 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2714, allocations: 4.125 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001816/0.2715, allocations: 8 kB / 1.221 GB, free: 9.695 MB / 0.9669 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.0004106/0.272, allocations: 0.6085 MB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.2721, allocations: 27.95 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2721, allocations: 3.938 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.2722, allocations: 11.98 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2723, allocations: 7.938 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.2727, allocations: 131.6 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.273, allocations: 0.6729 MB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.273, allocations: 8.031 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.2731, allocations: 7.438 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.2731, allocations: 3.938 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.2965, allocations: 1.349 MB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.35, allocations: 10.58 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.639797142001044]