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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009576/0.0009572, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009506/0.0009508, allocations: 172.7 kB / 15.95 MB, free: 208 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.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003057, allocations: 16 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7108, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001116/0.712, allocations: 0.998 MB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.7127, allocations: 0.5446 MB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.7128, allocations: 0 / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.7128, allocations: 0 / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.7129, allocations: 8.828 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.7133, allocations: 121.8 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.7134, allocations: 16.31 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.7135, allocations: 5.859 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.7135, allocations: 4.25 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.7136, allocations: 15.64 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.7136, allocations: 0.9688 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.7141, allocations: 331.8 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.7141, allocations: 9 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.7141, allocations: 32.17 kB / 0.9565 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.7143, allocations: 96.31 kB / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.7144, allocations: 0 / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7144, allocations: 0 / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7144, allocations: 1.031 kB / 0.9566 GB, free: 6.129 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.0004131/0.7148, allocations: 361 kB / 0.9569 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.7148, allocations: 9.156 kB / 0.9569 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.7149, allocations: 4.922 kB / 0.9569 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.715, allocations: 172.3 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.715, allocations: 0.9375 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.715, allocations: 5.844 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.7152, allocations: 39.97 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7152, allocations: 1.312 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7152, allocations: 0 / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7152, allocations: 1.156 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.7152, allocations: 20.53 kB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.7155, allocations: 252.8 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.7157, allocations: 49.16 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.7158, allocations: 16.77 kB / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.7158, allocations: 1.188 kB / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.7158, allocations: 35.66 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7158, allocations: 0 / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001641/0.716, allocations: 66.91 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.716, allocations: 60.7 kB / 0.9576 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.7161, allocations: 101.6 kB / 0.9577 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.7161, allocations: 25.7 kB / 0.9577 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.7161, allocations: 81.45 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.7162, allocations: 18.14 kB / 0.9578 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.7162, allocations: 0 / 0.9578 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.7162, allocations: 312.2 kB / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.7162, allocations: 8.25 kB / 0.9581 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.7163, allocations: 19.12 kB / 0.9581 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.7163, allocations: 13.2 kB / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7163, allocations: 0 / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.095e-05/0.7164, allocations: 60.28 kB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7164, allocations: 8.844 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7164, allocations: 1.156 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.7164, allocations: 0 / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.7165, allocations: 12.48 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7165, allocations: 8.031 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.7165, allocations: 5.438 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.7166, allocations: 1.469 kB / 0.9583 GB, free: 4.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.7166, allocations: 107.5 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.7166, allocations: 13.14 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.7168, allocations: 63.98 kB / 0.9584 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7168, allocations: 2 kB / 0.9584 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7168, allocations: 7.953 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7168, allocations: 0 / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.7169, allocations: 154.6 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7169, allocations: 1.969 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.717, allocations: 6.062 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.717, allocations: 0 / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.717, allocations: 7.922 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.717, allocations: 0 / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.717, allocations: 1.812 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.7171, allocations: 154.8 kB / 0.9587 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.7171, allocations: 77.11 kB / 0.9588 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.7171, allocations: 2 kB / 0.9588 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.7172, allocations: 0 / 0.9588 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.7172, allocations: 1.906 kB / 0.9588 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.7172, allocations: 1.844 kB / 0.9588 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.7173, allocations: 85.02 kB / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7173, allocations: 0 / 0.9589 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00029/0.7176, allocations: 21.48 kB / 0.9589 GB, free: 3.598 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.7178, allocations: 129.1 kB / 0.9591 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.7179, allocations: 26.67 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7179, allocations: 0 / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.7179, allocations: 11.81 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.7181, allocations: 2.156 kB / 0.9591 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.7184, allocations: 141.4 kB / 0.9592 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.7185, allocations: 0.6773 MB / 0.9599 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.7186, allocations: 7.266 kB / 0.9599 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.7186, allocations: 14.16 kB / 0.9599 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7186, allocations: 3.938 kB / 0.9599 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.002677/0.7213, allocations: 496.7 kB / 0.9604 GB, free: 2.352 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