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.001057/0.001057, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001768/0.001768, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.998/0.998, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.348/2.348, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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 2.114e-06/2.114e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.324e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.0028/0.002833, allocations: 1.364 MB / 0.8911 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003847, allocations: 0.5448 MB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.003889, allocations: 4 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.003911, allocations: 0 / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.003968, allocations: 7.875 kB / 0.8916 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.004552, allocations: 147.2 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.004611, allocations: 23.92 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.004652, allocations: 4 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.004693, allocations: 11.92 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.004753, allocations: 11.97 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.004767, allocations: 4 kB / 0.8918 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.005199, allocations: 271.4 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.005214, allocations: 0 / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.005234, allocations: 11.98 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.0055, allocations: 155.5 kB / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.005504, allocations: 0 / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005505, allocations: 0 / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005509, allocations: 0 / 0.8923 GB, free: 7.168 MB / 0.8542 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.0004138/0.005922, allocations: 384.3 kB / 0.8926 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.005975, allocations: 20.61 kB / 0.8926 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.006006, allocations: 8.938 kB / 0.8927 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.006092, allocations: 108.6 kB / 0.8928 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.006103, allocations: 384 / 0.8928 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.006111, allocations: 4.312 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.006194, allocations: 42.25 kB / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.006201, allocations: 192 / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.006208, allocations: 384 / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.006213, allocations: 384 / 0.8928 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.006241, allocations: 11.94 kB / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.006525, allocations: 244.4 kB / 0.893 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.006702, allocations: 51.05 kB / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.006725, allocations: 15.75 kB / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.006755, allocations: 7.938 kB / 0.8931 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.006781, allocations: 37.38 kB / 0.8932 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.006783, allocations: 0 / 0.8932 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001534/0.006936, allocations: 53.62 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.006965, allocations: 51.41 kB / 0.8933 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.007048, allocations: 162 kB / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.007061, allocations: 29.64 kB / 0.8934 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.007119, allocations: 130.8 kB / 0.8936 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.007131, allocations: 15.94 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.007169, allocations: 31.31 kB / 0.8936 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.007316, allocations: 492.1 kB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.00733, allocations: 4 kB / 0.8941 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.007363, allocations: 23.36 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.007409, allocations: 35.55 kB / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007411, allocations: 0 / 0.8941 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.668e-05/0.007498, allocations: 53.62 kB / 0.8942 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007512, allocations: 4 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.007519, allocations: 8.031 kB / 0.8942 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007532, allocations: 3.938 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.007579, allocations: 11.98 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007582, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.007603, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.007607, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 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.0002234/0.00783, allocations: 164.5 kB / 0.8944 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.007856, allocations: 4 kB / 0.8944 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.007982, allocations: 53.38 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.007986, allocations: 11.92 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007988, allocations: 0 / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007991, allocations: 0 / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.008123, allocations: 105.3 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.008126, allocations: 4 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.008156, allocations: 8 kB / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008158, allocations: 0 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.008163, allocations: 0 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008164, allocations: 0 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008165, allocations: 0 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.008285, allocations: 207.7 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.008294, allocations: 8 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.008304, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.00835, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.008362, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008367, allocations: 7.938 kB / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.008404, allocations: 123.2 kB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.008404, allocations: 0 / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002837/0.008688, allocations: 19.94 kB / 0.8949 GB, free: 4.184 MB / 0.8542 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.0001868/0.008874, allocations: 123.1 kB / 0.895 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.008953, allocations: 27.67 kB / 0.895 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008955, allocations: 4 kB / 0.895 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.008973, allocations: 16.06 kB / 0.8951 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.009205, allocations: 0 / 0.8951 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.009471, allocations: 126.4 kB / 0.8952 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.009513, allocations: 59.3 kB / 0.8952 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.009547, allocations: 8 kB / 0.8952 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.009591, allocations: 70.2 kB / 0.8953 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.009592, allocations: 0 / 0.8953 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of Templates: time 0.00241/0.012, allocations: 0.5919 MB / 0.8959 GB, free: 3.102 MB / 0.8542 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.255740609951317]