Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00181/0.00181, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.345/2.345, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7152, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002059/0.7173, allocations: 1.344 MB / 0.9504 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.7182, allocations: 0.5945 MB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.7182, allocations: 0 / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.7182, allocations: 3.984 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.7183, allocations: 5.469 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.7188, allocations: 127.2 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.7188, allocations: 21.36 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.7189, allocations: 2.312 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.7189, allocations: 4.469 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.7189, allocations: 11.64 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.719, allocations: 2.031 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.7194, allocations: 345.3 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.7194, allocations: 5.375 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.7194, allocations: 11.52 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.7196, allocations: 150.5 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7197, allocations: 4 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7197, allocations: 0 / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7197, allocations: 1.375 kB / 0.9517 GB, free: 7.188 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003138/0.72, allocations: 358.5 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.72, allocations: 9.625 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.7201, allocations: 6.312 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/0.7201, allocations: 169.7 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.7201, allocations: 4.312 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.7202, allocations: 3.125 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.7203, allocations: 45.12 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.7203, allocations: 192 / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7203, allocations: 7.938 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7203, allocations: 1.031 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.7203, allocations: 12.89 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.7206, allocations: 249.2 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.7208, allocations: 62.09 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.7208, allocations: 20.67 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.7209, allocations: 1.344 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.7209, allocations: 34.56 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.7209, allocations: 1.219 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.721, allocations: 63.27 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.7211, allocations: 55.34 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.145e-05/0.7211, allocations: 97.77 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.7211, allocations: 26.95 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.7212, allocations: 85.3 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.7212, allocations: 13.05 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.7212, allocations: 18.28 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.7212, allocations: 312.1 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.7213, allocations: 8.094 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.7213, allocations: 23.67 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.7213, allocations: 28.84 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7214, allocations: 0 / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.311e-05/0.7214, allocations: 63.62 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7215, allocations: 5.625 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.7215, allocations: 0 / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.7215, allocations: 1.594 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.7215, allocations: 12.25 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.7215, allocations: 0 / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.7216, allocations: 13.41 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.7216, allocations: 1.562 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.7216, allocations: 115.7 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.7217, allocations: 1.062 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.7218, allocations: 71.92 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7218, allocations: 1.031 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7218, allocations: 1.594 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7218, allocations: 4 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.7219, allocations: 158.6 kB / 0.9537 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7219, allocations: 0 / 0.9537 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.722, allocations: 9.438 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.722, allocations: 1.438 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.722, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.722, allocations: 9.219 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.722, allocations: 0 / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.7221, allocations: 147.6 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.7221, allocations: 86.39 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.7221, allocations: 3.984 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.7222, allocations: 1.688 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.7222, allocations: 1.094 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.7222, allocations: 5.031 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.24e-05/0.7223, allocations: 82.38 kB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7223, allocations: 0 / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000253/0.7225, allocations: 17.41 kB / 0.9541 GB, free: 4.609 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.7227, allocations: 130.2 kB / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.7228, allocations: 23.53 kB / 0.9542 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7228, allocations: 0 / 0.9542 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.7228, allocations: 16.39 kB / 0.9542 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.723, allocations: 5.094 kB / 0.9542 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.7233, allocations: 138.3 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.7234, allocations: 0.6844 MB / 0.955 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.7234, allocations: 2.812 kB / 0.955 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.7234, allocations: 10.44 kB / 0.9551 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7234, allocations: 0 / 0.9551 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.002285/0.7257, allocations: 0.5016 MB / 0.9555 GB, free: 3.367 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches