Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0007612/0.0007612, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0007672/0.0007672, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8489/0.8489, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.566e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001698/0.001723, allocations: 1.292 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.00241, allocations: 0.5145 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.002434, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.002454, allocations: 3.984 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.002492, allocations: 3.938 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.00287, allocations: 139.3 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.002915, allocations: 11.92 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.002952, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.00298, allocations: 7.984 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.00302, allocations: 3.984 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.003033, allocations: 4 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.003293, allocations: 271.3 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.003307, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.003323, allocations: 4 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.003512, allocations: 151.5 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003514, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003515, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.003521, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 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.0003026/0.003824, allocations: 270.1 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.003862, allocations: 12.75 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.00389, allocations: 34.69 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.003911, allocations: 4.922 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.287e-05/0.003984, allocations: 109.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.003993, allocations: 4.375 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-06/0.003999, allocations: 4.375 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/0.004076, allocations: 30.27 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.004083, allocations: 4.125 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.004089, allocations: 384 / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.004097, allocations: 8.109 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.004119, allocations: 4 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.004235, allocations: 124.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.004281, allocations: 22.55 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.004298, allocations: 12.92 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.004315, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.004333, allocations: 34.56 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004334, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.00445, allocations: 41.69 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.00448, allocations: 63.28 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.004529, allocations: 93.86 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004537, allocations: 25.7 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.004561, allocations: 80.14 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.004584, allocations: 15.81 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.004607, allocations: 17.72 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.004685, allocations: 311.1 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.004697, allocations: 8 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-06/0.004703, allocations: 0 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.004727, allocations: 16.86 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004729, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.429e-05/0.004773, allocations: 41.69 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.004785, allocations: 7.938 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.004789, allocations: 0 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004799, allocations: 0 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.004929, allocations: 15.92 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/0.005184, allocations: 0.5862 MB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.005198, allocations: 4 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005201, allocations: 0 / 1.004 GB, free: 8.906 MB / 0.9636 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 5.319e-05/0.005255, allocations: 106.7 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-06/0.00526, allocations: 11.89 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.005342, allocations: 48.94 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005344, allocations: 0 / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.005347, allocations: 128 / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.00535, allocations: 4 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.842e-05/0.005418, allocations: 128.7 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.00542, allocations: 3.938 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.005468, allocations: 8 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.00547, allocations: 0 / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005476, allocations: 0 / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001952/0.005671, allocations: 0.5822 MB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.005673, allocations: 3.984 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.83e-05/0.005721, allocations: 65.11 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.005728, allocations: 8.031 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.005736, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-06/0.005743, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.005755, allocations: 3.984 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.005757, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.005782, allocations: 79.28 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005782, allocations: 0 / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000131/0.005913, allocations: 15.88 kB / 1.005 GB, free: 7.742 MB / 0.9636 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.000288/0.006201, allocations: 0.6125 MB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.006325, allocations: 19.98 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006327, allocations: 0 / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.006358, allocations: 12 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.006474, allocations: 5.5 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.00694, allocations: 138.3 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.006975, allocations: 59.5 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.006991, allocations: 4 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.007015, allocations: 12.5 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.007016, allocations: 0 / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.02267, allocations: 1.956 MB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.213, allocations: 2.578 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.257370010949671]