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.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.001604/0.001604, allocations: 110.5 kB / 17.08 MB, free: 5.766 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.001775/0.001775, allocations: 189.2 kB / 20.03 MB, free: 2.906 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.391/1.391, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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 0.001961/0.001961, allocations: 67.91 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.8857, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002137/0.8879, allocations: 1.299 MB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.8888, allocations: 0.5836 MB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.8888, allocations: 0 / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.8888, allocations: 5.156 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.8889, allocations: 1.484 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.8894, allocations: 148.2 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.8895, allocations: 19.92 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.8895, allocations: 10.75 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.8895, allocations: 9.469 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.8896, allocations: 10.31 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8896, allocations: 0.8438 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005769/0.8902, allocations: 340.6 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.8902, allocations: 1.859 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.8903, allocations: 16.33 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.8905, allocations: 148.4 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8906, allocations: 0 / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8906, allocations: 0.8438 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8906, allocations: 4 kB / 1.265 GB, free: 6.434 MB / 0.9981 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.00034/0.8909, allocations: 357.2 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.891, allocations: 9.344 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.891, allocations: 7.281 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.171e-05/0.8911, allocations: 166.7 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.8911, allocations: 1.406 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.8911, allocations: 2.312 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.8912, allocations: 39.61 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8912, allocations: 5.562 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8912, allocations: 3.938 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8912, allocations: 0.7188 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.8913, allocations: 16.25 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.8916, allocations: 253.1 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.8918, allocations: 50.2 kB / 1.266 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.8918, allocations: 21.95 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8918, allocations: 1.703 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.8919, allocations: 36.05 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.8919, allocations: 0.8438 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.892, allocations: 59.42 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.892, allocations: 52.47 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.8921, allocations: 98.75 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.8921, allocations: 31.94 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.8921, allocations: 84.66 kB / 1.266 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.8922, allocations: 19.06 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.8922, allocations: 14.31 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.8922, allocations: 317.5 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.8922, allocations: 5.5 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.8923, allocations: 21.38 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.8923, allocations: 38.69 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8923, allocations: 0 / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.937e-05/0.8924, allocations: 59.7 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8924, allocations: 5.938 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8924, allocations: 0.6562 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.8925, allocations: 1 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.8925, allocations: 8.281 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.8925, allocations: 5.578 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.8926, allocations: 4.75 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.8926, allocations: 9.75 kB / 1.267 GB, free: 4.648 MB / 0.9981 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 3.889e-05/0.8926, allocations: 113 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.8926, allocations: 9.516 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.8928, allocations: 58.8 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.8928, allocations: 0.9688 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8928, allocations: 0 / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8928, allocations: 1.688 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.8929, allocations: 158.4 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8929, allocations: 4 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.8929, allocations: 10.83 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8929, allocations: 0.7812 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.893, allocations: 5.172 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.893, allocations: 0.7188 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.893, allocations: 0 / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.8931, allocations: 148.9 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.8931, allocations: 82.58 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.8931, allocations: 5.562 kB / 1.267 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.8932, allocations: 3.938 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.8932, allocations: 2.484 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.8932, allocations: 2.219 kB / 1.267 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.8932, allocations: 78.17 kB / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8932, allocations: 0 / 1.267 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002485/0.8935, allocations: 26.59 kB / 1.268 GB, free: 3.941 MB / 0.9981 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.0001528/0.8936, allocations: 119.8 kB / 1.268 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.8937, allocations: 25.52 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8938, allocations: 0.8438 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.8938, allocations: 13.62 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.894, allocations: 7.531 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.8943, allocations: 158.3 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.8944, allocations: 0.6757 MB / 1.268 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.8944, allocations: 11.14 kB / 1.268 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8944, allocations: 4.062 kB / 1.268 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.00237/0.8968, allocations: 0.6956 MB / 1.269 GB, free: 2.906 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.574923478998244]