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.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.0008937/0.0008937, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009593/0.0009593, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8693/0.8693, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.722/1.722, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.903e-06/1.903e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.418e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002531/0.002556, allocations: 1.271 MB / 0.9517 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.003514, allocations: 0.5298 MB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.00355, allocations: 0 / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.003571, allocations: 0 / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.003616, allocations: 4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.004222, allocations: 147.2 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.004282, allocations: 7.938 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.004333, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.004371, allocations: 11.97 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.004417, allocations: 4 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.004432, allocations: 0 / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.004866, allocations: 267.4 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.004881, allocations: 0 / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.004902, allocations: 4 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.005172, allocations: 155.5 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.005176, allocations: 4 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005177, allocations: 0 / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.005182, allocations: 0 / 0.9528 GB, free: 1.082 MB / 0.9011 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.0003971/0.005579, allocations: 278 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.005625, allocations: 8.031 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.005662, allocations: 34.75 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.005688, allocations: 0.9375 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.005779, allocations: 105.7 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.005791, allocations: 384 / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.0058, allocations: 8.375 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.005901, allocations: 38.25 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005909, allocations: 192 / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005917, allocations: 384 / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005923, allocations: 4.125 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.005951, allocations: 7.938 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.006105, allocations: 120.8 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.00617, allocations: 26.55 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.006189, allocations: 8.859 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.006216, allocations: 4.062 kB / 0.9535 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.00624, allocations: 34.5 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.006241, allocations: 4 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.006406, allocations: 41.62 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.006443, allocations: 59.34 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.006511, allocations: 93.86 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006521, allocations: 25.7 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.006572, allocations: 84.14 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.006597, allocations: 3.953 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.006631, allocations: 13.72 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.006728, allocations: 319.1 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.006743, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.006756, allocations: 8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.00679, allocations: 12.86 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006792, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.84e-05/0.00686, allocations: 41.59 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.006877, allocations: 8 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006882, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006895, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.007066, allocations: 15.92 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/0.007427, allocations: 0.5822 MB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.007448, allocations: 4 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.007454, allocations: 4.031 kB / 0.9548 GB, free: 14.89 MB / 0.9167 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.391e-05/0.007528, allocations: 113.8 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.007538, allocations: 3.938 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.007656, allocations: 41.02 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007659, allocations: 0 / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.007667, allocations: 7.984 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.00767, allocations: 4.125 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.398e-05/0.007754, allocations: 116.8 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.007758, allocations: 7.938 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.00783, allocations: 15.92 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007833, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.00784, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002921/0.008132, allocations: 0.5859 MB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008133, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.335e-05/0.008207, allocations: 69.09 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.008215, allocations: 8.062 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.008226, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.008237, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.008253, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.008256, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.008287, allocations: 75.28 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008287, allocations: 4 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000242/0.008529, allocations: 15.86 kB / 0.9558 GB, free: 13.72 MB / 0.9167 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.0004179/0.008947, allocations: 0.6164 MB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.009162, allocations: 19.98 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009164, allocations: 0 / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.009214, allocations: 19.92 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.009415, allocations: 2.656 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.01017, allocations: 134.4 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.01023, allocations: 59.34 kB / 0.9566 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.01026, allocations: 4.125 kB / 0.9566 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.01031, allocations: 12.5 kB / 0.9566 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.01031, allocations: 0 / 0.9566 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02617, allocations: 1.96 MB / 0.9586 GB, free: 11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.808, allocations: 6.031 kB / 0.9586 GB, free: 11 MB / 0.9167 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --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/jenkins/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: 11.855762738734484]