Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.002061/0.002061, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 12 kB / 0.8153 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6959, allocations: 142.4 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001094/0.697, allocations: 0.974 MB / 0.9554 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007146/0.6978, allocations: 0.533 MB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.6978, allocations: 0 / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.6978, allocations: 0 / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.6979, allocations: 5.141 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.6982, allocations: 113.7 kB / 0.956 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.6983, allocations: 8.25 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.6983, allocations: 5.328 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.6983, allocations: 6.344 kB / 0.956 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.6984, allocations: 10.39 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6984, allocations: 4 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.6988, allocations: 331 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.6989, allocations: 0.9375 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.6989, allocations: 26.89 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.6991, allocations: 103.5 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6991, allocations: 0 / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6991, allocations: 0 / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.6991, allocations: 0 / 0.9565 GB, free: 6.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002627/0.6993, allocations: 342.2 kB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6994, allocations: 17.08 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.6994, allocations: 8.922 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.6995, allocations: 160.1 kB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6995, allocations: 1.5 kB / 0.957 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.6995, allocations: 4 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.6996, allocations: 32.52 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6996, allocations: 1.344 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6997, allocations: 0 / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6997, allocations: 0 / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.6997, allocations: 14.56 kB / 0.9571 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.6998, allocations: 148.6 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.218e-05/0.6999, allocations: 20.83 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.6999, allocations: 19.19 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.6999, allocations: 0 / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.7, allocations: 39.47 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.7, allocations: 4 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.7001, allocations: 39.55 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.7002, allocations: 52.66 kB / 0.9574 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.985e-05/0.7002, allocations: 96.16 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.7002, allocations: 29.64 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.7002, allocations: 81.14 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.7003, allocations: 9.031 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7003, allocations: 0 / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.7003, allocations: 324.1 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.7003, allocations: 0.875 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.7003, allocations: 3 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.58e-05/0.7004, allocations: 2.344 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7004, allocations: 3.938 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.267e-05/0.7004, allocations: 42.75 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7004, allocations: 4.312 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7004, allocations: 0.9688 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.7005, allocations: 0 / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.7006, allocations: 15.83 kB / 0.9579 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002254/0.7009, allocations: 0.5828 MB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.7009, allocations: 1.375 kB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.7009, allocations: 3.938 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.7009, allocations: 108.7 kB / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.701, allocations: 8 kB / 0.9586 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.434e-05/0.7011, allocations: 48.55 kB / 0.9587 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7011, allocations: 5.203 kB / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7011, allocations: 0 / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7011, allocations: 1.406 kB / 0.9587 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.636e-05/0.7012, allocations: 152 kB / 0.9588 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7012, allocations: 3.938 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.7012, allocations: 7.906 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.7012, allocations: 3.984 kB / 0.9588 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.7013, allocations: 5.094 kB / 0.9589 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001602/0.7014, allocations: 0.5867 MB / 0.9594 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7014, allocations: 0 / 0.9594 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.543e-05/0.7015, allocations: 61.48 kB / 0.9595 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.7015, allocations: 81.22 kB / 0.9596 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.7015, allocations: 7.953 kB / 0.9596 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.7015, allocations: 4 kB / 0.9596 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-06/0.7016, allocations: 0 / 0.9596 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.7016, allocations: 1.531 kB / 0.9596 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.681e-05/0.7016, allocations: 80.69 kB / 0.9596 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7016, allocations: 3.938 kB / 0.9597 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001849/0.7018, allocations: 11.56 kB / 0.9597 GB, free: 2.637 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.7019, allocations: 120 kB / 0.9598 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.7021, allocations: 16.95 kB / 0.9598 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7021, allocations: 4 kB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.7022, allocations: 14.86 kB / 0.9598 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.7023, allocations: 1.344 kB / 0.9598 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.7026, allocations: 118.8 kB / 0.9599 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.7027, allocations: 0.6753 MB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.7027, allocations: 1.281 kB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.7028, allocations: 8.594 kB / 0.9606 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7028, allocations: 0 / 0.9606 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of Templates: time 0.002435/0.7052, allocations: 411.1 kB / 0.961 GB, free: 1.48 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches