Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 112.4 kB / 17.08 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 192.7 kB / 20.03 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00246/0.3198, allocations: 1.258 MB / 1.177 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3208, allocations: 0.5958 MB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.3209, allocations: 0 / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.3209, allocations: 0 / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.321, allocations: 0 / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3215, allocations: 143.4 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.3215, allocations: 11.94 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.3216, allocations: 4 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.3216, allocations: 0 / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.3217, allocations: 11.92 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3217, allocations: 0 / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.3222, allocations: 347.3 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.3223, allocations: 0 / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.3223, allocations: 4 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3225, allocations: 139.5 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.3226, allocations: 0 / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3226, allocations: 4 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3226, allocations: 0 / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004235/0.323, allocations: 355.1 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.323, allocations: 12.03 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.3231, allocations: 0.9375 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3232, allocations: 164.4 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.3232, allocations: 384 / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3233, allocations: 4.375 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.953e-05/0.3233, allocations: 34.27 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3234, allocations: 4.125 kB / 1.179 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3234, allocations: 7.938 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3234, allocations: 0 / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.3234, allocations: 0 / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.3236, allocations: 157.7 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.3237, allocations: 18.67 kB / 1.179 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.3237, allocations: 8.859 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3237, allocations: 4 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3238, allocations: 38.56 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.3238, allocations: 3.938 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.3239, allocations: 45.56 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.324, allocations: 51.41 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.3241, allocations: 97.86 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3241, allocations: 25.95 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.3241, allocations: 84.14 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3242, allocations: 7.938 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3242, allocations: 21.66 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3244, allocations: 310.8 kB / 1.18 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.3244, allocations: 4 kB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.3244, allocations: 0 / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.3244, allocations: 16.8 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3244, allocations: 4.062 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.593e-05/0.3245, allocations: 45.64 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3245, allocations: 4 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3245, allocations: 3.938 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3246, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3247, allocations: 15.98 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000451/0.3252, allocations: 0.5821 MB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.3252, allocations: 8.125 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3252, allocations: 4.031 kB / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.3253, allocations: 109.8 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-06/0.3253, allocations: 0 / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.3255, allocations: 48.75 kB / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3255, allocations: 0 / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3255, allocations: 4 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3255, allocations: 0 / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3256, allocations: 153.6 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3256, allocations: 0 / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.3257, allocations: 12 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3257, allocations: 0 / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.3257, allocations: 4 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003847/0.3261, allocations: 0.5937 MB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3261, allocations: 3.938 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.958e-05/0.3262, allocations: 65.25 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.3263, allocations: 81.09 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3263, allocations: 7.938 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.3263, allocations: 0 / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3264, allocations: 7.875 kB / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3264, allocations: 0 / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.3264, allocations: 83.31 kB / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3264, allocations: 0 / 1.181 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000198/0.3266, allocations: 4 kB / 1.181 GB, free: 15.7 MB / 0.9356 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.3268, allocations: 119.2 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.327, allocations: 15.98 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.327, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.3271, allocations: 11.98 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3273, allocations: 8.219 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3277, allocations: 131.6 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3281, allocations: 0.6729 MB / 1.182 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.3281, allocations: 7.438 kB / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3281, allocations: 0 / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.002853/0.331, allocations: 0.6992 MB / 1.183 GB, free: 13.97 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 10.189774333965033]