Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001872/0.001872, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 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.002473/0.002473, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.878/1.878, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 3.334/3.334, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.128e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003052/0.003084, allocations: 1.334 MB / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004287, allocations: 0.528 MB / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.004318, allocations: 0 / 0.8794 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.004343, allocations: 4.516 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.004405, allocations: 4.719 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.00513, allocations: 146.7 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.005196, allocations: 23.86 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.005233, allocations: 0 / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.005274, allocations: 12 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.005342, allocations: 11.97 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.005358, allocations: 0 / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.005896, allocations: 271.4 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.005914, allocations: 4 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.005943, allocations: 8.531 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.006279, allocations: 156.7 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.006283, allocations: 0 / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006284, allocations: 3.938 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.006288, allocations: 0.5 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000545/0.006833, allocations: 291.4 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.006872, allocations: 8.031 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.00692, allocations: 4.938 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.007052, allocations: 101.8 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.007066, allocations: 5.469 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.007076, allocations: 384 / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.007207, allocations: 46.19 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.007215, allocations: 0.8125 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.007228, allocations: 4.375 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.007233, allocations: 4.375 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.00729, allocations: 15.92 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.007656, allocations: 200.7 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.007897, allocations: 38.62 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.007948, allocations: 28.77 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.007972, allocations: 0 / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.008005, allocations: 34.56 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.008006, allocations: 0 / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.008213, allocations: 61.58 kB / 0.8809 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.008267, allocations: 59.41 kB / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.008371, allocations: 101.8 kB / 0.881 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.008391, allocations: 25.7 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.008455, allocations: 80.14 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.008475, allocations: 15.84 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.008514, allocations: 13.72 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.00871, allocations: 326.8 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.008733, allocations: 4 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.008772, allocations: 21.72 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.008833, allocations: 25.7 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008835, allocations: 7.938 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000369/0.009204, allocations: 65.58 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.009229, allocations: 8 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.009239, allocations: 3.938 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.009259, allocations: 0 / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.009314, allocations: 8 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00932, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.009346, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.009357, allocations: 8 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.009466, allocations: 117.8 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.009495, allocations: 4 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.009679, allocations: 61.31 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009681, allocations: 0 / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009685, allocations: 128 / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.009692, allocations: 4 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.009852, allocations: 105.3 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.009856, allocations: 4 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.009897, allocations: 4 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009899, allocations: 0 / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.009908, allocations: 8 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.009912, allocations: 3.938 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009913, allocations: 0 / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01008, allocations: 151.9 kB / 0.882 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.0101, allocations: 8.016 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.01011, allocations: 4 kB / 0.882 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.01017, allocations: 7.938 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.01018, allocations: 0 / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.01019, allocations: 0 / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.01024, allocations: 79.28 kB / 0.8821 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01024, allocations: 0 / 0.8821 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000287/0.01053, allocations: 31.86 kB / 0.8822 GB, free: 1.562 MB / 0.8386 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.01078, allocations: 119.2 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01088, allocations: 23.92 kB / 0.8823 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01089, allocations: 4 kB / 0.8823 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.01091, allocations: 7.938 kB / 0.8823 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01113, allocations: 10.5 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.01149, allocations: 112.7 kB / 0.8824 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.464e-05/0.01158, allocations: 71.27 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.01161, allocations: 256 / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.01164, allocations: 12.5 kB / 0.8825 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01164, allocations: 0 / 0.8825 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Templates: time 0.003334/0.01497, allocations: 0.5304 MB / 0.883 GB, free: 0.6367 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: 8.64258567802608]