Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_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_10_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.001434/0.001434, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001679/0.001679, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.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.386/2.386, allocations: 437 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.7238, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002041/0.7259, allocations: 1.257 MB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000865/0.7268, allocations: 0.6017 MB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.7268, allocations: 0 / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.7268, allocations: 0 / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.7269, allocations: 3.984 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.7273, allocations: 136.9 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.7274, allocations: 11.94 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.7274, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.7274, allocations: 8 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.7275, allocations: 7.984 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.7275, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.728, allocations: 351.2 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.728, allocations: 0 / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.728, allocations: 0 / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.7283, allocations: 147.5 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7283, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.52e-07/0.7283, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7283, allocations: 4 kB / 1.17 GB, free: 1.336 MB / 0.8887 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.0003465/0.7287, allocations: 353.3 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.7287, allocations: 8.922 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.7287, allocations: 0.9375 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.7288, allocations: 168.3 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.7289, allocations: 384 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.7289, allocations: 8.359 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.615e-05/0.729, allocations: 26.27 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.729, allocations: 4.188 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.729, allocations: 3.938 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.729, allocations: 0 / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.729, allocations: 11.94 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.7292, allocations: 149.7 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.313e-05/0.7292, allocations: 26.61 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.7292, allocations: 4.859 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7293, allocations: 0 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.7293, allocations: 34.62 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.7293, allocations: 4 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.7294, allocations: 53.5 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.7295, allocations: 51.41 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.7295, allocations: 93.86 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7295, allocations: 25.7 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.7296, allocations: 88.08 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.7296, allocations: 11.83 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.7296, allocations: 17.97 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.7297, allocations: 310.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.7297, allocations: 8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.7298, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.7298, allocations: 8.859 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7298, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.097e-05/0.7299, allocations: 49.62 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.7299, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.7299, allocations: 4.094 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.7299, allocations: 3.938 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.73, allocations: 8 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00031/0.7304, allocations: 0.5821 MB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.7304, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.7304, allocations: 4.031 kB / 1.172 GB, free: 14.99 MB / 0.9044 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.7305, allocations: 113.9 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.7305, allocations: 7.938 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.311e-05/0.7306, allocations: 44.81 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7306, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7306, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.7306, allocations: 89.02 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-06/0.7307, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.7307, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.7307, allocations: 3.938 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001665/0.7309, allocations: 141.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001166/0.731, allocations: 210.8 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.793e-05/0.731, allocations: 4.031 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.7311, allocations: 83.41 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Backend: time 2.21e-07/0.7311, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.7316, allocations: 157.3 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004167/0.732, allocations: 0.5601 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.00306/0.7351, allocations: 1.103 MB / 1.174 GB, free: 12.41 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches