Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 100 kB / 15.05 MB, free: 1.105 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.001477/0.001477, allocations: 177.3 kB / 15.94 MB, free: 220 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.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.641/2.641, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 12 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6173/0.6177, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00118/0.6189, allocations: 0.9765 MB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.6194, allocations: 295.3 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.6194, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.6195, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.6195, allocations: 3.938 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.6198, allocations: 63.78 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.586e-05/0.6198, allocations: 8 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.6199, allocations: 3.984 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.6199, allocations: 4 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.62, allocations: 4 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.62, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.6203, allocations: 179.7 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.6203, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.6203, allocations: 33.64 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.6204, allocations: 49.91 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.6204, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6204, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6204, allocations: 4 kB / 1.022 GB, free: 15.49 MB / 0.7794 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.0003068/0.6208, allocations: 331.3 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6208, allocations: 11.98 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.6208, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.6209, allocations: 163 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.621, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.621, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.6211, allocations: 37.66 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.6211, allocations: 4 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.6211, allocations: 3.938 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6211, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.6211, allocations: 7.984 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.6213, allocations: 149.7 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.6213, allocations: 22.55 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6214, allocations: 3.984 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6214, allocations: 38.62 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6214, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.6215, allocations: 41.66 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6216, allocations: 51.41 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.6217, allocations: 97.84 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.6217, allocations: 29.7 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.6217, allocations: 80.14 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.6218, allocations: 8.094 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.6218, allocations: 7.938 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.6219, allocations: 314.8 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.6219, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.6219, allocations: 3.938 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.539e-05/0.6219, allocations: 8 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6219, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.628e-05/0.622, allocations: 37.69 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.622, allocations: 9.562 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.622, allocations: 4.094 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.622, allocations: 3.953 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6222, allocations: 11.98 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/0.6225, allocations: 0.5821 MB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.6226, allocations: 4 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6226, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 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 6.427e-05/0.6226, allocations: 114 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.6227, allocations: 7.859 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.6228, allocations: 48.8 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6228, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6228, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6228, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.626e-05/0.6229, allocations: 157.7 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6229, allocations: 3.938 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.623, allocations: 15.95 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.623, allocations: 4.031 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.623, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002562/0.6233, allocations: 0.586 MB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6233, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.451e-05/0.6233, allocations: 73.11 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.6234, allocations: 85.03 kB / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.6234, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.6234, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.6234, allocations: 4 kB / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.6234, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.6235, allocations: 75.28 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6235, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001898/0.6237, allocations: 12 kB / 1.026 GB, free: 11.91 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 (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.0001526/0.6238, allocations: 115.4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.624, allocations: 23.92 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.624, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.6241, allocations: 19.92 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.854e-05/0.6242, allocations: 4.516 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.6245, allocations: 111.3 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6247, allocations: 0.677 MB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.6247, allocations: 0 / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.6247, allocations: 11.44 kB / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6247, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.002223/0.627, allocations: 426.9 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches