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.001665/0.001665, allocations: 103 kB / 16.45 MB, free: 6.508 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.001923/0.001923, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.1 MB " [Timeout remaining time 178] 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.889/2.889, allocations: 476.7 MB / 0.7611 GB, free: 11.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.001925/0.001925, allocations: 59.91 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8794/0.8813, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002727/0.8841, allocations: 1.253 MB / 1.27 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.8851, allocations: 0.5955 MB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.8852, allocations: 0 / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.8852, allocations: 0 / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.8852, allocations: 7.938 kB / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.8858, allocations: 131.5 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.8858, allocations: 15.92 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.8859, allocations: 4 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.8859, allocations: 8 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.8859, allocations: 3.984 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.8859, allocations: 3.938 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.8865, allocations: 347.3 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.679e-06/0.8865, allocations: 0 / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.8865, allocations: 0 / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.8868, allocations: 145.3 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8868, allocations: 0 / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8868, allocations: 0 / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8868, allocations: 0 / 1.271 GB, free: 2.664 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.0004315/0.8872, allocations: 361.4 kB / 1.272 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8872, allocations: 8.031 kB / 1.272 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.8873, allocations: 30.75 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.8873, allocations: 4.938 kB / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.8875, allocations: 172.3 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.8875, allocations: 384 / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8875, allocations: 384 / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.8876, allocations: 34.2 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8876, allocations: 3.938 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.8876, allocations: 8 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8876, allocations: 3.938 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.8876, allocations: 4 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.8878, allocations: 149.7 kB / 1.272 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.045e-05/0.8879, allocations: 22.61 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.8879, allocations: 4.859 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.8879, allocations: 3.938 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8879, allocations: 38.62 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8879, allocations: 0 / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.8881, allocations: 49.58 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8881, allocations: 51.41 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.8882, allocations: 101.8 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.8882, allocations: 25.7 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.8883, allocations: 80.14 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.8883, allocations: 4.234 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.8883, allocations: 17.72 kB / 1.272 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8885, allocations: 314.8 kB / 1.273 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.8885, allocations: 4 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.8885, allocations: 3.938 kB / 1.273 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.8885, allocations: 12.86 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8885, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.827e-05/0.8886, allocations: 45.73 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8886, allocations: 11.94 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8886, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8886, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.8888, allocations: 11.98 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004312/0.8892, allocations: 0.5821 MB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.8892, allocations: 0 / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.8892, allocations: 4.031 kB / 1.273 GB, free: 276 kB / 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 8.381e-05/0.8893, allocations: 118.4 kB / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.8893, allocations: 3.984 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.8894, allocations: 48.8 kB / 1.273 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8894, allocations: 4 kB / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8894, allocations: 0 / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8894, allocations: 0 / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.8896, allocations: 157.5 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8896, allocations: 4 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.8897, allocations: 8.031 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8897, allocations: 4 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.8897, allocations: 0 / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00035/0.89, allocations: 0.586 MB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.89, allocations: 7.938 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.341e-05/0.8901, allocations: 70.78 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.8902, allocations: 89.03 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.8902, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.8902, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.8902, allocations: 3.938 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.8902, allocations: 3.938 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.8902, allocations: 79.28 kB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8902, allocations: 0 / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.8904, allocations: 12.06 kB / 1.274 GB, free: 14.96 MB / 0.9825 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.0004752/0.8909, allocations: 0.6136 MB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.8911, allocations: 19.92 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8911, allocations: 96 / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.8912, allocations: 19.98 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.8913, allocations: 6.375 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.8918, allocations: 139.5 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.8921, allocations: 0.6729 MB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.8921, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.8922, allocations: 11.5 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8922, allocations: 0 / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.9171, allocations: 1.41 MB / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.87, allocations: 14.48 kB / 1.277 GB, free: 12.18 MB / 0.9825 GB " [Timeout remaining time 287] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.009305097162724]