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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001112/0.001112, allocations: 111.6 kB / 16.42 MB, free: 6.461 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.001114/0.001115, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 68.08 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6874, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002182/0.6897, allocations: 1.243 MB / 1.228 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.6906, allocations: 0.5915 MB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.6907, allocations: 0 / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.6907, allocations: 7.922 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.6908, allocations: 3.984 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.6912, allocations: 143.4 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.444e-05/0.6913, allocations: 7.938 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.6913, allocations: 4 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.6914, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.6914, allocations: 7.938 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6914, allocations: 4 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.6919, allocations: 343.3 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.6919, allocations: 4 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.692, allocations: 7.984 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.6922, allocations: 140.1 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6922, allocations: 0 / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.51e-07/0.6922, allocations: 3.938 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6923, allocations: 0 / 1.229 GB, free: 10.99 MB / 0.9512 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.0003793/0.6926, allocations: 351.2 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6927, allocations: 12.03 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.6927, allocations: 4.938 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.6928, allocations: 160.4 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.6928, allocations: 384 / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.6929, allocations: 384 / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.6929, allocations: 38.25 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.693, allocations: 192 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.693, allocations: 3.938 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.693, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.693, allocations: 8 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.6932, allocations: 157.6 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.6932, allocations: 22.55 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.6932, allocations: 12.92 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.6933, allocations: 3.938 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.6933, allocations: 38.5 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.6933, allocations: 4 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001297/0.6934, allocations: 53.52 kB / 1.23 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.6935, allocations: 51.41 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.6935, allocations: 93.86 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.6936, allocations: 25.7 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.6936, allocations: 84.14 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.6936, allocations: 0 / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.6937, allocations: 13.72 kB / 1.23 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.6938, allocations: 323.1 kB / 1.23 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.6938, allocations: 0 / 1.23 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.6938, allocations: 4 kB / 1.23 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.6938, allocations: 12.86 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6938, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.847e-05/0.6939, allocations: 41.59 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6939, allocations: 13.08 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6939, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.6939, allocations: 8.031 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6941, allocations: 8 kB / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003527/0.6944, allocations: 0.5782 MB / 1.231 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.6945, allocations: 7.984 kB / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.6945, allocations: 0 / 1.231 GB, free: 8.641 MB / 0.9512 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 7.569e-05/0.6945, allocations: 118.4 kB / 1.231 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.6946, allocations: 0 / 1.231 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.6947, allocations: 48.75 kB / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6947, allocations: 0 / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6947, allocations: 0 / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.6947, allocations: 77.11 kB / 1.231 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.6947, allocations: 0 / 1.231 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.6948, allocations: 4 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.6948, allocations: 3.938 kB / 1.231 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001708/0.6949, allocations: 133.8 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001285/0.6951, allocations: 222.8 kB / 1.231 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.803e-05/0.6951, allocations: 3.984 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.6951, allocations: 79.31 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of Backend: time 3.11e-07/0.6952, allocations: 8.156 kB / 1.232 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005589/0.6957, allocations: 150.1 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004603/0.6962, allocations: 0.5651 MB / 1.232 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.003131/0.6993, allocations: 1.128 MB / 1.233 GB, free: 6.035 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches