Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001357/0.001357, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001386/0.001386, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.364/2.364, allocations: 443.5 MB / 0.7304 GB, free: 14.02 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_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 1.059 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2644, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00225/0.2667, allocations: 1.266 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.2676, allocations: 0.5887 MB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.2676, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.2676, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.2677, allocations: 3.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.2682, allocations: 143.4 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.038e-05/0.2682, allocations: 11.94 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2683, allocations: 3.984 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.2683, allocations: 4 kB / 1.218 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.2683, allocations: 11.94 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.2683, allocations: 0 / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.2688, allocations: 335.4 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.2688, allocations: 7.938 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.2689, allocations: 7.938 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.2691, allocations: 139.9 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2691, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2691, allocations: 7.938 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.2691, allocations: 0 / 1.218 GB, free: 13.42 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.0003921/0.2695, allocations: 355.1 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2696, allocations: 8.031 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2696, allocations: 34.75 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2696, allocations: 4.938 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2697, allocations: 168.3 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.2697, allocations: 384 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2697, allocations: 384 / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.2698, allocations: 42.23 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2698, allocations: 3.938 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2698, allocations: 0 / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2699, allocations: 0 / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.2699, allocations: 4 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.27, allocations: 149.7 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.2701, allocations: 30.53 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.2701, allocations: 12.92 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2701, allocations: 3.984 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2701, allocations: 30.56 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2701, allocations: 0 / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.2703, allocations: 41.64 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2703, allocations: 59.39 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.2704, allocations: 93.8 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2704, allocations: 29.95 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2704, allocations: 84.14 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2704, allocations: 7.953 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.2705, allocations: 9.719 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2706, allocations: 314.8 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.2706, allocations: 3.984 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.2706, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.2706, allocations: 20.86 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2706, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.494e-05/0.2707, allocations: 41.66 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2707, allocations: 9.812 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2707, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2707, allocations: 3.938 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2709, allocations: 11.98 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.2712, allocations: 0.586 MB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.2713, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2713, allocations: 0 / 1.22 GB, free: 11.02 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.239e-05/0.2713, allocations: 113.8 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.2713, allocations: 4.031 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.439e-05/0.2714, allocations: 44.77 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2714, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2714, allocations: 128 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2714, allocations: 7.984 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2716, allocations: 157.6 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2716, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.2716, allocations: 11.98 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2716, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.2716, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003252/0.272, allocations: 0.586 MB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.272, allocations: 4.031 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.578e-05/0.272, allocations: 73.09 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2721, allocations: 77.11 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.2721, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.2721, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.2721, allocations: 3.938 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.2721, allocations: 4 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.2722, allocations: 87.3 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2722, allocations: 0 / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001793/0.2723, allocations: 8 kB / 1.221 GB, free: 9.727 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.0003965/0.2727, allocations: 0.6085 MB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2729, allocations: 24.11 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2729, allocations: 3.938 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.273, allocations: 11.98 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2731, allocations: 7.938 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.2735, allocations: 135.5 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2738, allocations: 0.6769 MB / 1.223 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.2738, allocations: 7.906 kB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.2738, allocations: 7.438 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.2738, allocations: 0 / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.2988, allocations: 1.327 MB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.47, allocations: 11.64 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.751269013002457]