Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001812/0.001812, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002274/0.002274, allocations: 174.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.897/2.897, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: 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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.878e-05/4.153e-05, allocations: 6.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003085/0.003127, allocations: 1.302 MB / 0.9827 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004242, allocations: 0.5253 MB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.004271, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.004292, allocations: 3.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.004336, allocations: 3.984 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.004949, allocations: 162 kB / 0.9834 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.005013, allocations: 15.94 kB / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.005065, allocations: 7.984 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.005098, allocations: 7.938 kB / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.005151, allocations: 7.984 kB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.005166, allocations: 0 / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.005629, allocations: 271.4 kB / 0.9837 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.005647, allocations: 11.91 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.005671, allocations: 8 kB / 0.9837 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.00599, allocations: 151.5 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005992, allocations: 4 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005993, allocations: 0 / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.006001, allocations: 0 / 0.9838 GB, free: 9.523 MB / 0.9356 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.0005112/0.006513, allocations: 286 kB / 0.9841 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.006563, allocations: 12.03 kB / 0.9841 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.006593, allocations: 0.9375 kB / 0.9841 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.006767, allocations: 105.7 kB / 0.9842 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.006782, allocations: 8.312 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.006796, allocations: 384 / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.006941, allocations: 46.25 kB / 0.9843 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00695, allocations: 4.188 kB / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.006963, allocations: 384 / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006969, allocations: 4.312 kB / 0.9843 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.00703, allocations: 19.92 kB / 0.9843 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.00743, allocations: 200.6 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.007638, allocations: 42.56 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.007681, allocations: 24.84 kB / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.0077, allocations: 0 / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.007743, allocations: 34.56 kB / 0.9846 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.007744, allocations: 4 kB / 0.9846 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001823/0.007926, allocations: 57.62 kB / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.007971, allocations: 51.41 kB / 0.9847 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.008073, allocations: 101.8 kB / 0.9848 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.008092, allocations: 25.7 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.008162, allocations: 92.08 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.008177, allocations: 7.906 kB / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.008216, allocations: 17.72 kB / 0.9849 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.00838, allocations: 318.8 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.008403, allocations: 7.984 kB / 0.9852 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.008439, allocations: 21.72 kB / 0.9853 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.008495, allocations: 25.72 kB / 0.9853 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008496, allocations: 0 / 0.9853 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.008596, allocations: 62 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.008612, allocations: 7.984 kB / 0.9854 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.008619, allocations: 3.938 kB / 0.9854 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.008633, allocations: 4 kB / 0.9854 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.008677, allocations: 4 kB / 0.9854 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.008683, allocations: 4 kB / 0.9854 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.008707, allocations: 7.875 kB / 0.9854 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.008712, allocations: 4.078 kB / 0.9854 GB, free: 7.754 MB / 0.9356 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 9.695e-05/0.008809, allocations: 117.8 kB / 0.9855 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.008835, allocations: 3.984 kB / 0.9855 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.008988, allocations: 69.25 kB / 0.9856 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008989, allocations: 0 / 0.9856 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008994, allocations: 0 / 0.9856 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008996, allocations: 0 / 0.9856 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.009149, allocations: 109.3 kB / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00915, allocations: 0 / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.009187, allocations: 15.92 kB / 0.9857 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009189, allocations: 0 / 0.9857 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.009198, allocations: 4 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.009201, allocations: 3.938 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009202, allocations: 0 / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.00935, allocations: 147.5 kB / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.009357, allocations: 0 / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.009376, allocations: 4 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.009428, allocations: 4.062 kB / 0.9858 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.009455, allocations: 3.984 kB / 0.9858 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.00946, allocations: 4 kB / 0.9858 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.009508, allocations: 87.28 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.009508, allocations: 0 / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000286/0.009794, allocations: 19.94 kB / 0.9859 GB, free: 7.109 MB / 0.9356 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.0002038/0.009998, allocations: 115.1 kB / 0.9861 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.0101, allocations: 27.92 kB / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0101, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.01013, allocations: 15.98 kB / 0.9861 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.01033, allocations: 2.578 kB / 0.9861 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.01062, allocations: 120.8 kB / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.01069, allocations: 67.34 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.01072, allocations: 4 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.01075, allocations: 8.5 kB / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.01075, allocations: 0 / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.003208/0.01396, allocations: 0.5113 MB / 0.9868 GB, free: 6.195 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.255971729755402]