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.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.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.001131/0.001131, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001138/0.001139, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.149/2.149, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.7603, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002302/0.7627, allocations: 1.251 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.7636, allocations: 0.5915 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.7637, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.7637, allocations: 0.6562 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.7638, allocations: 5.125 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.7642, allocations: 138.2 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.7643, allocations: 14.81 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.7644, allocations: 1.75 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.7644, allocations: 11.09 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.7645, allocations: 7.578 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.7645, allocations: 0 / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.7651, allocations: 341.8 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.7651, allocations: 0.75 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.7652, allocations: 6.562 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.7655, allocations: 138.8 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7655, allocations: 0 / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7655, allocations: 0 / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7655, allocations: 1.312 kB / 1.091 GB, free: 4.012 MB / 0.8575 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.0003571/0.7658, allocations: 353.9 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7659, allocations: 9.25 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.7659, allocations: 2.031 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/0.766, allocations: 167 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.766, allocations: 384 / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.766, allocations: 1.531 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.743e-05/0.7661, allocations: 34.61 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7662, allocations: 1.859 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7662, allocations: 3.938 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.7662, allocations: 5.062 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.7662, allocations: 3.109 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.7663, allocations: 150.9 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.7664, allocations: 24.94 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.7664, allocations: 7.703 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.7664, allocations: 1.891 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.7665, allocations: 42.5 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7665, allocations: 1.062 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.7666, allocations: 45.28 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.7666, allocations: 51.41 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.7667, allocations: 98.25 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.7667, allocations: 25.7 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.7667, allocations: 81.84 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.7668, allocations: 5.219 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.7668, allocations: 21.06 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.7668, allocations: 316.7 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.7669, allocations: 2 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.7669, allocations: 2.891 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.7669, allocations: 14.84 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7669, allocations: 4 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.623e-05/0.767, allocations: 39.19 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.767, allocations: 10.03 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.767, allocations: 1.406 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.767, allocations: 3.938 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.7672, allocations: 10.77 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002629/0.7675, allocations: 0.5866 MB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.7675, allocations: 1 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7675, allocations: 4.781 kB / 1.093 GB, free: 1.797 MB / 0.8575 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 5.054e-05/0.7676, allocations: 120.1 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.7676, allocations: 1.891 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.7677, allocations: 47.14 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7677, allocations: 1.531 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7677, allocations: 0 / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.7678, allocations: 79 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.7678, allocations: 1.188 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.7678, allocations: 4.828 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.7678, allocations: 8.766 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001597/0.768, allocations: 133.6 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001035/0.7681, allocations: 219.8 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.831e-05/0.7681, allocations: 8.406 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.7682, allocations: 80.81 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.7682, allocations: 0.8438 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006267/0.7688, allocations: 151.9 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004215/0.7692, allocations: 0.5544 MB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.004057/0.7733, allocations: 1.105 MB / 1.096 GB, free: 16.31 MB / 0.8731 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/jenkins1/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