Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009613, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006186/0.006186, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.8159 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6904, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001178/0.6916, allocations: 1.015 MB / 0.956 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.6926, allocations: 0.5988 MB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.6926, allocations: 0 / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.6926, allocations: 0.7812 kB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.6927, allocations: 5.156 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.6931, allocations: 118.8 kB / 0.9567 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.6932, allocations: 21.14 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.6933, allocations: 1.594 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.6933, allocations: 8.625 kB / 0.9568 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.6933, allocations: 12.61 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.6934, allocations: 0 / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.6938, allocations: 345.2 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.6939, allocations: 5.344 kB / 0.9571 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.6939, allocations: 36.91 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.6941, allocations: 146.3 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6941, allocations: 0 / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6942, allocations: 1.062 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.6942, allocations: 0 / 0.9573 GB, free: 5.941 MB / 0.7169 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.0003488/0.6945, allocations: 360.9 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.6946, allocations: 8.562 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.6946, allocations: 3.531 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.6947, allocations: 164.3 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.6947, allocations: 2.594 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6947, allocations: 1.969 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.6948, allocations: 48.34 kB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6948, allocations: 1.688 kB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.6948, allocations: 3.938 kB / 0.9579 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6949, allocations: 4 kB / 0.9579 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.6949, allocations: 16.98 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.6952, allocations: 253.5 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.6954, allocations: 49.41 kB / 0.9582 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.6954, allocations: 25.91 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.6954, allocations: 4 kB / 0.9582 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.6954, allocations: 40.31 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6954, allocations: 0 / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001504/0.6956, allocations: 55.53 kB / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.6956, allocations: 59.39 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/0.6957, allocations: 99.3 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.6957, allocations: 25.7 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.6957, allocations: 80.14 kB / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.6957, allocations: 25.52 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.6958, allocations: 11.5 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.6958, allocations: 312.6 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.6958, allocations: 7.625 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.6959, allocations: 23.11 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.6959, allocations: 26.09 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6959, allocations: 0 / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.603e-05/0.696, allocations: 67.91 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.696, allocations: 5.781 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.696, allocations: 0 / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.696, allocations: 1.156 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.6961, allocations: 7.031 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6961, allocations: 4.953 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.6961, allocations: 5.656 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.6961, allocations: 1.312 kB / 0.959 GB, free: 4.105 MB / 0.7169 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 4.905e-05/0.6962, allocations: 120.2 kB / 0.9591 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6962, allocations: 8.969 kB / 0.9591 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.6963, allocations: 60.02 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6964, allocations: 0.9688 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6964, allocations: 1 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6964, allocations: 3.984 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.6965, allocations: 158.9 kB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6965, allocations: 1.156 kB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.6965, allocations: 5.125 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6965, allocations: 0 / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.6965, allocations: 5.281 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6966, allocations: 3.938 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6966, allocations: 5.656 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.691e-05/0.6966, allocations: 150.6 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.6967, allocations: 78.05 kB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.6967, allocations: 1 kB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.6967, allocations: 5.531 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.6968, allocations: 13.86 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6968, allocations: 0 / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.6968, allocations: 78.22 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6968, allocations: 0 / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.697, allocations: 18.34 kB / 0.9597 GB, free: 3.367 MB / 0.7169 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.0001595/0.6972, allocations: 113.7 kB / 0.9598 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.6973, allocations: 31.17 kB / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6973, allocations: 0 / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.6973, allocations: 16.2 kB / 0.9599 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6976, allocations: 5.156 kB / 0.9599 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.6978, allocations: 137.2 kB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.6979, allocations: 0.6814 MB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.6979, allocations: 7.375 kB / 0.9607 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.698, allocations: 9.844 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.698, allocations: 0 / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.00226/0.7002, allocations: 0.4903 MB / 0.9611 GB, free: 2.129 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches