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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 104.2 kB / 18.19 MB, free: 4.145 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 192.4 kB / 21.34 MB, free: 1.004 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 489.7 MB / 0.7761 GB, free: 33.56 MB / 0.6231 GB [Timeout remaining time 87] 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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=501,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 0.001896/0.001896, allocations: 69.98 kB / 1.127 GB, free: 37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2827, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002321/0.285, allocations: 1.311 MB / 1.296 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.286, allocations: 0.5905 MB / 1.297 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.286, allocations: 0 / 1.297 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.286, allocations: 3.938 kB / 1.297 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.286, allocations: 3.984 kB / 1.297 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2865, allocations: 139.4 kB / 1.297 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.2866, allocations: 27.86 kB / 1.297 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.2866, allocations: 0 / 1.297 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.2866, allocations: 11.94 kB / 1.297 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.2867, allocations: 11.98 kB / 1.297 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2867, allocations: 0 / 1.297 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.2872, allocations: 343.4 kB / 1.297 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.2872, allocations: 0 / 1.297 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2873, allocations: 11.88 kB / 1.297 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.2875, allocations: 147.5 kB / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2875, allocations: 0 / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2875, allocations: 0 / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2875, allocations: 0 / 1.297 GB, free: 9.113 MB / 0.9981 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.0004415/0.288, allocations: 363.1 kB / 1.298 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.288, allocations: 8.031 kB / 1.298 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.288, allocations: 8.922 kB / 1.298 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2882, allocations: 172.3 kB / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2882, allocations: 384 / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2882, allocations: 8.312 kB / 1.298 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.2883, allocations: 42.25 kB / 1.298 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2883, allocations: 4.125 kB / 1.298 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2883, allocations: 3.938 kB / 1.298 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2883, allocations: 4 kB / 1.298 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2884, allocations: 19.97 kB / 1.298 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.2887, allocations: 244.9 kB / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.2889, allocations: 54.56 kB / 1.298 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.2889, allocations: 12.86 kB / 1.298 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2889, allocations: 4 kB / 1.298 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.289, allocations: 34.56 kB / 1.298 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.289, allocations: 0 / 1.298 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.2891, allocations: 61.58 kB / 1.298 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2892, allocations: 55.41 kB / 1.298 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.2892, allocations: 97.84 kB / 1.299 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2892, allocations: 25.7 kB / 1.299 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.2893, allocations: 84.14 kB / 1.299 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.2893, allocations: 7.906 kB / 1.299 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.2893, allocations: 25.7 kB / 1.299 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2895, allocations: 314.8 kB / 1.299 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.2895, allocations: 8 kB / 1.299 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.2895, allocations: 17.7 kB / 1.299 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.2896, allocations: 33.66 kB / 1.299 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2896, allocations: 0 / 1.299 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001006/0.2897, allocations: 69.58 kB / 1.299 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2897, allocations: 4 kB / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2897, allocations: 0 / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2897, allocations: 0 / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.2897, allocations: 11.94 kB / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2897, allocations: 0 / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.2898, allocations: 12.05 kB / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2898, allocations: 4 kB / 1.299 GB, free: 7.098 MB / 0.9981 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 7.08e-05/0.2899, allocations: 113.8 kB / 1.299 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.2899, allocations: 8 kB / 1.299 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.29, allocations: 57.19 kB / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.29, allocations: 0 / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.29, allocations: 0 / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.29, allocations: 480 / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2902, allocations: 169.5 kB / 1.299 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2902, allocations: 0 / 1.299 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2902, allocations: 11.92 kB / 1.299 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2902, allocations: 0 / 1.299 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.2902, allocations: 7.938 kB / 1.299 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2902, allocations: 4 kB / 1.299 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2902, allocations: 0 / 1.299 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2904, allocations: 155.4 kB / 1.3 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.2904, allocations: 77.11 kB / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.2904, allocations: 0 / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.2905, allocations: 0 / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.2905, allocations: 7.984 kB / 1.3 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.2905, allocations: 4 kB / 1.3 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.2905, allocations: 83.28 kB / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.2905, allocations: 0 / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002356/0.2908, allocations: 15.94 kB / 1.3 GB, free: 6.297 MB / 0.9981 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.0001763/0.2909, allocations: 123.6 kB / 1.3 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.291, allocations: 19.98 kB / 1.3 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.291, allocations: 0 / 1.3 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.2911, allocations: 15.98 kB / 1.3 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2913, allocations: 18.72 kB / 1.3 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.2916, allocations: 148.3 kB / 1.3 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2919, allocations: 0.6807 MB / 1.301 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.2919, allocations: 7.438 kB / 1.301 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.2919, allocations: 0 / 1.301 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of Templates: time 0.002144/0.294, allocations: 0.7064 MB / 1.301 GB, free: 4.516 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] 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/jenkins1/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