Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_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_10_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.001548/0.001548, allocations: 109.2 kB / 16.41 MB, free: 6.438 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.001711/0.001711, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 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.374/2.374, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7254, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002065/0.7275, allocations: 1.281 MB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.7285, allocations: 0.6056 MB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.7285, allocations: 0 / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.7286, allocations: 3.938 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.7286, allocations: 7.938 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.7291, allocations: 137.1 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.7292, allocations: 27.86 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.7292, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.7292, allocations: 7.938 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.7293, allocations: 11.98 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.7293, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.7298, allocations: 347.3 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.7298, allocations: 4 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.7299, allocations: 11.94 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.7302, allocations: 147.5 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7302, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7302, allocations: 4 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7302, allocations: 0 / 1.17 GB, free: 1.238 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000394/0.7306, allocations: 353.3 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7306, allocations: 8.922 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.7307, allocations: 12.83 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.7308, allocations: 172.3 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.7308, allocations: 4.375 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.7308, allocations: 384 / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.7309, allocations: 42.25 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7309, allocations: 192 / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.7309, allocations: 3.938 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.731, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.731, allocations: 15.94 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.7313, allocations: 248.9 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.7315, allocations: 50.62 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.7315, allocations: 20.84 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.7316, allocations: 4 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.7316, allocations: 30.56 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.7316, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000176/0.7318, allocations: 65.56 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7318, allocations: 55.41 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.7319, allocations: 101.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.7319, allocations: 25.7 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.732, allocations: 84.05 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.732, allocations: 11.81 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.732, allocations: 13.72 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.7321, allocations: 322.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.7321, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.7322, allocations: 17.72 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.7322, allocations: 37.64 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7322, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.788e-05/0.7323, allocations: 57.75 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.7324, allocations: 7.938 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7324, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7324, allocations: 4.453 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/0.7324, allocations: 8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7324, allocations: 0 / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.7325, allocations: 7.938 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.7325, allocations: 0 / 1.172 GB, free: 15.24 MB / 0.9044 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 6.731e-05/0.7326, allocations: 117.8 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.7326, allocations: 3.938 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.7327, allocations: 65.11 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7327, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7327, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.7328, allocations: 81.02 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.7328, allocations: 3.984 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.7329, allocations: 8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.7329, allocations: 3.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001068/0.733, allocations: 124.9 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001254/0.7331, allocations: 226.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.591e-05/0.7332, allocations: 15.98 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.7332, allocations: 75.28 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of Backend: time 2.01e-07/0.7332, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.7337, allocations: 154.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003807/0.7341, allocations: 0.5543 MB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of Templates: time 0.003237/0.7373, allocations: 1.172 MB / 1.174 GB, free: 12.52 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches