Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001387/0.001387, allocations: 106.8 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.001378/0.001378, 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.234 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001795/0.001795, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7697, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001986/0.7717, allocations: 1.274 MB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.7725, allocations: 0.5851 MB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.7725, allocations: 4.812 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.7725, allocations: 3.938 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.7726, allocations: 1.328 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.773, allocations: 142.4 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.7731, allocations: 17.94 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.7731, allocations: 2.781 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.7731, allocations: 2.469 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.7732, allocations: 7.094 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.7732, allocations: 4.719 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.7737, allocations: 346.6 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.7737, allocations: 1.062 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.7737, allocations: 1.094 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.7739, allocations: 141.2 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7739, allocations: 3.938 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7739, allocations: 0.75 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.7739, allocations: 0 / 1.274 GB, free: 6.199 MB / 0.9981 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.00029/0.7742, allocations: 349 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7743, allocations: 14.16 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.864e-05/0.7743, allocations: 30.75 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.978e-05/0.7743, allocations: 1.812 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.493e-05/0.7744, allocations: 167.2 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.7744, allocations: 1.312 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.7744, allocations: 1.375 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/0.7745, allocations: 34.17 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.7745, allocations: 4.531 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.7745, allocations: 0 / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7745, allocations: 0.625 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.7745, allocations: 14.7 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.032e-05/0.7746, allocations: 148.7 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.7746, allocations: 21.72 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.7746, allocations: 6.172 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.7747, allocations: 4.703 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.7747, allocations: 40.19 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.7747, allocations: 4 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001091/0.7748, allocations: 48.91 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.444e-05/0.7748, allocations: 56.06 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/0.7748, allocations: 97.59 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.7748, allocations: 26.55 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.084e-05/0.7749, allocations: 82.3 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.7749, allocations: 5.641 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.7749, allocations: 19.66 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.238e-05/0.7749, allocations: 314 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.7749, allocations: 1.75 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.7749, allocations: 2.094 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.775, allocations: 13.48 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.775, allocations: 0.9062 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.827e-05/0.775, allocations: 43.42 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.775, allocations: 10.84 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.775, allocations: 5 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.775, allocations: 3.984 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.7752, allocations: 11.77 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001965/0.7754, allocations: 0.5798 MB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.7754, allocations: 4 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.7754, allocations: 1.125 kB / 1.276 GB, free: 3.941 MB / 0.9981 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.041e-05/0.7754, allocations: 116.3 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.7754, allocations: 1.125 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.7755, allocations: 46.81 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7755, allocations: 1.953 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.7755, allocations: 0 / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.7755, allocations: 0 / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.316e-05/0.7756, allocations: 152.3 kB / 1.276 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7756, allocations: 0 / 1.276 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.7757, allocations: 14.41 kB / 1.276 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7757, allocations: 5.094 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.7757, allocations: 0 / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001489/0.7758, allocations: 0.5928 MB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7758, allocations: 3.938 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.625e-05/0.7759, allocations: 64.25 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.7759, allocations: 78.88 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.7759, allocations: 2.891 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.7759, allocations: 0 / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.7759, allocations: 9.156 kB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.7759, allocations: 0.9688 kB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.447e-05/0.7759, allocations: 80.97 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7759, allocations: 0 / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001757/0.7761, allocations: 13.23 kB / 1.277 GB, free: 2.723 MB / 0.9981 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.0002293/0.7763, allocations: 0.6156 MB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.7765, allocations: 15.91 kB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7765, allocations: 0 / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.7766, allocations: 25.59 kB / 1.278 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.7767, allocations: 7.641 kB / 1.278 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.7771, allocations: 139.6 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.7773, allocations: 0.6801 MB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.7774, allocations: 0 / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.7774, allocations: 8.75 kB / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7774, allocations: 4.062 kB / 1.279 GB, free: 17.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.8018, allocations: 1.342 MB / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.81, allocations: 6.375 kB / 1.28 GB, free: 16.87 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.070756048000476]