Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002523/0.002523, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003206/0.003206, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.325/3.325, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.85e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002481/0.00251, allocations: 1.331 MB / 0.8788 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003609, allocations: 0.5614 MB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.00363, allocations: 0.9375 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.003644, allocations: 0 / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.003698, allocations: 8.469 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.004218, allocations: 144.1 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.004275, allocations: 25 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.004306, allocations: 0 / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.004353, allocations: 19.92 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.004414, allocations: 5.125 kB / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004429, allocations: 0 / 0.8795 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.004898, allocations: 271.4 kB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.004914, allocations: 5.078 kB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.004932, allocations: 4 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.005518, allocations: 155.5 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.005523, allocations: 8.656 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005524, allocations: 0 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005528, allocations: 2.062 kB / 0.8799 GB, free: 4.109 MB / 0.8386 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.0005764/0.006105, allocations: 387.9 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.006146, allocations: 8.031 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.006195, allocations: 4.938 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.006338, allocations: 112 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006352, allocations: 4.375 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006364, allocations: 4.312 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.00647, allocations: 38.27 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.006478, allocations: 192 / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.006486, allocations: 384 / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006493, allocations: 4.359 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.006546, allocations: 19.88 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.006933, allocations: 259.8 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.00715, allocations: 52.05 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.007194, allocations: 23.67 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.007215, allocations: 5.125 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.007255, allocations: 33.39 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.007256, allocations: 1.031 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001955/0.007452, allocations: 65.58 kB / 0.8809 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.007499, allocations: 55.39 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.007628, allocations: 163.1 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.007647, allocations: 29.64 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.007732, allocations: 130.9 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.007746, allocations: 12.44 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.007792, allocations: 27.36 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.008039, allocations: 495.6 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.008061, allocations: 12 kB / 0.8818 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.008098, allocations: 23.36 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.008162, allocations: 35.38 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008164, allocations: 0 / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.008275, allocations: 61.58 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.00829, allocations: 10.34 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.008299, allocations: 4.469 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008312, allocations: 0 / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.008361, allocations: 12.58 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008366, allocations: 1.094 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.008392, allocations: 8 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.0084, allocations: 4 kB / 0.882 GB, free: 1.84 MB / 0.8386 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 0.0001153/0.008516, allocations: 157.2 kB / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.00854, allocations: 5.531 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.008688, allocations: 61.31 kB / 0.8822 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00869, allocations: 0 / 0.8822 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.008696, allocations: 4.953 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008698, allocations: 0 / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.008853, allocations: 116.6 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.008854, allocations: 0.75 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.008889, allocations: 4 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008891, allocations: 7.969 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.008896, allocations: 0 / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.008902, allocations: 11.92 kB / 0.8823 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008903, allocations: 0 / 0.8823 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.00909, allocations: 204.3 kB / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.009099, allocations: 4 kB / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.009109, allocations: 0 / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.009158, allocations: 3.984 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.009177, allocations: 3.984 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.009183, allocations: 4 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.322e-05/0.009256, allocations: 127.2 kB / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009256, allocations: 4 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002336/0.00949, allocations: 23.88 kB / 0.8827 GB, free: 1.039 MB / 0.8386 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.0001952/0.009685, allocations: 111.2 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.009796, allocations: 35.61 kB / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009798, allocations: 0 / 0.8828 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.009827, allocations: 19.69 kB / 0.8828 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.01003, allocations: 7.984 kB / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.01034, allocations: 118.4 kB / 0.8829 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.01041, allocations: 63.28 kB / 0.883 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01044, allocations: 12.22 kB / 0.883 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.01046, allocations: 12.5 kB / 0.883 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.01046, allocations: 0 / 0.883 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of Templates: time 0.003175/0.01364, allocations: 0.5359 MB / 0.8835 GB, free: 80 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.52016225992702]