Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 102.7 kB / 16.45 MB, free: 6.504 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.00141/0.00141, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.818/2.818, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 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_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8802, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002641/0.8829, allocations: 1.248 MB / 1.27 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.884, allocations: 0.5916 MB / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.884, allocations: 4 kB / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.884, allocations: 0 / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.8841, allocations: 0 / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.8846, allocations: 147.1 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.8847, allocations: 15.92 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.8847, allocations: 7.984 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.579e-05/0.8847, allocations: 0 / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.8848, allocations: 7.938 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.8848, allocations: 0 / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.8854, allocations: 343.3 kB / 1.271 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.8854, allocations: 3.984 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.8854, allocations: 7.938 kB / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.8857, allocations: 145.3 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8857, allocations: 0 / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8857, allocations: 0 / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8857, allocations: 0 / 1.271 GB, free: 2.645 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.000499/0.8862, allocations: 351.2 kB / 1.272 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.8862, allocations: 12.02 kB / 1.272 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.8863, allocations: 42.75 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.8863, allocations: 0.9375 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.8864, allocations: 164.3 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.8865, allocations: 384 / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.8865, allocations: 4.375 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.8866, allocations: 34.2 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8866, allocations: 3.938 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8866, allocations: 3.984 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.8866, allocations: 4 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.8866, allocations: 4 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.8868, allocations: 149.7 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.8869, allocations: 22.59 kB / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.8869, allocations: 8.922 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.8869, allocations: 0 / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8869, allocations: 38.5 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.8869, allocations: 0 / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.8871, allocations: 49.59 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8871, allocations: 55.34 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.8872, allocations: 97.84 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.8872, allocations: 29.7 kB / 1.272 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.8873, allocations: 80.14 kB / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.8873, allocations: 0 / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.8873, allocations: 17.72 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8875, allocations: 315.1 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.8875, allocations: 3.984 kB / 1.273 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.8875, allocations: 4 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.8875, allocations: 16.8 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8875, allocations: 0 / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.601e-05/0.8876, allocations: 37.66 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8876, allocations: 13.97 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8876, allocations: 0 / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8876, allocations: 4.094 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.8878, allocations: 11.98 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004874/0.8883, allocations: 0.5821 MB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.8883, allocations: 3.938 kB / 1.273 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.8883, allocations: 0 / 1.273 GB, free: 260 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 0.0002239/0.8885, allocations: 122.4 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.8885, allocations: 3.984 kB / 1.273 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.8887, allocations: 44.81 kB / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8887, allocations: 0 / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8887, allocations: 0 / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8887, allocations: 0 / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.8888, allocations: 153.6 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8888, allocations: 0 / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.8889, allocations: 11.98 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8889, allocations: 3.938 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.8889, allocations: 8.031 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003882/0.8893, allocations: 0.586 MB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8893, allocations: 7.969 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.8894, allocations: 62.7 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.8894, allocations: 81.23 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.8894, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.8894, allocations: 3.938 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.8895, allocations: 11.88 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.8895, allocations: 3.984 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.8895, allocations: 79.27 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8895, allocations: 0 / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001948/0.8897, allocations: 11.94 kB / 1.274 GB, free: 14.95 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.0004888/0.8902, allocations: 0.6164 MB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.8904, allocations: 19.92 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8904, allocations: 0 / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.8904, allocations: 11.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.0001486/0.8906, allocations: 18.33 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.8911, allocations: 139.5 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.8914, allocations: 0.6768 MB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.8914, allocations: 0 / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.8915, allocations: 7.438 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8915, allocations: 0 / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.92, allocations: 1.379 MB / 1.277 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.94, allocations: 9.906 kB / 1.277 GB, free: 12.16 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.952654594089836]