Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001884/0.001884, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.002067/0.002067, allocations: 200.9 kB / 16.15 MB, free: 6.594 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.597/1.597, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.861/2.861, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 71.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7885, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002597/0.7911, allocations: 1.354 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.7923, allocations: 0.6151 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.7923, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.7923, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.7924, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.7928, allocations: 115.6 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.7929, allocations: 15.94 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.7929, allocations: 11.98 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.7929, allocations: 7.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.793, allocations: 15.98 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.793, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.7935, allocations: 343.3 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.7935, allocations: 7.938 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.7936, allocations: 7.984 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.7939, allocations: 145.6 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7939, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7939, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.7939, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 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.0004533/0.7944, allocations: 359.4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7944, allocations: 15.97 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.7944, allocations: 4.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.7946, allocations: 168.3 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.7946, allocations: 384 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.7946, allocations: 12.36 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.7947, allocations: 42.19 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.7947, allocations: 192 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.7947, allocations: 7.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7948, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.7948, allocations: 19.98 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.7952, allocations: 252.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.7954, allocations: 50.62 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.7954, allocations: 20.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.7954, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.7955, allocations: 38.55 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.7955, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.7957, allocations: 57.69 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.7957, allocations: 51.41 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.7958, allocations: 97.86 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.7958, allocations: 25.7 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.7959, allocations: 80.14 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.7959, allocations: 19.73 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.7959, allocations: 21.72 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7961, allocations: 318.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.7961, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.7961, allocations: 25.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.7962, allocations: 25.72 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7962, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.634e-05/0.7963, allocations: 65.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7963, allocations: 9.406 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7963, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7963, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.822e-05/0.7964, allocations: 11.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7964, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.7964, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.7964, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 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 8.044e-05/0.7965, allocations: 117.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.7966, allocations: 432 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.7967, allocations: 73.09 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7967, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7967, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.7967, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7969, allocations: 157.6 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7969, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.7969, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.797, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.797, allocations: 4.125 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.797, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.797, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.7971, allocations: 155.3 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.7972, allocations: 81.09 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.7972, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.7972, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.7973, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7973, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.7973, allocations: 83.28 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7973, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002328/0.7976, allocations: 16 kB / 1.022 GB, free: 13.31 MB / 0.7794 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.0001923/0.7978, allocations: 127.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.233e-05/0.7979, allocations: 23.94 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7979, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.7979, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.7981, allocations: 19.94 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.7984, allocations: 128.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.7988, allocations: 0.677 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.7988, allocations: 11.92 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.7989, allocations: 11.44 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7989, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.00264/0.8015, allocations: 0.4929 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches