Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.0009104/0.0009104, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002142, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007531/0.0007531, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009925/0.001746, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.084/1.084, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.199, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.43/2.43, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2576/2.687, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.86e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002087/0.002106, allocations: 1.479 MB / 0.8198 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004236/0.006341, allocations: 0.9575 MB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.006386, allocations: 0 / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.006399, allocations: 7.922 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.006443, allocations: 3.938 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.007025, allocations: 258.8 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.144e-05/0.007107, allocations: 35.8 kB / 0.821 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.007143, allocations: 4 kB / 0.821 GB, free: 100 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.007212, allocations: 23.92 kB / 0.821 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.007263, allocations: 15.97 kB / 0.8211 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.007275, allocations: 8 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006294/0.007904, allocations: 423.4 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.007922, allocations: 7.938 kB / 0.8215 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.007942, allocations: 8 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.008344, allocations: 295.1 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.00836, allocations: 4 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.008361, allocations: 0 / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.008378, allocations: 3.938 kB / 0.8218 GB, free: 15.32 MB / 0.8073 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.003508/0.01189, allocations: 335.6 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01192, allocations: 8.625 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.01195, allocations: 4.938 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.843e-05/0.01205, allocations: 128.2 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.01206, allocations: 4.312 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.01206, allocations: 384 / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.254e-05/0.01213, allocations: 38.25 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.01213, allocations: 4.172 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.01214, allocations: 4.125 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.01215, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.01216, allocations: 4 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.841e-05/0.01224, allocations: 57.05 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.01228, allocations: 26.55 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.0123, allocations: 4.859 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01232, allocations: 8.047 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.01234, allocations: 30.56 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.01234, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001041/0.01244, allocations: 41.64 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.01247, allocations: 51.41 kB / 0.8225 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.01257, allocations: 134.5 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.01258, allocations: 25.7 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.01261, allocations: 96.2 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.01263, allocations: 3.953 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.01266, allocations: 29.69 kB / 0.8228 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.01275, allocations: 318.8 kB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.01276, allocations: 8 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.01277, allocations: 4 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.01281, allocations: 28.78 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01281, allocations: 0 / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.799e-05/0.01288, allocations: 57.58 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.0129, allocations: 8 kB / 0.8232 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.01291, allocations: 3.984 kB / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.01292, allocations: 4 kB / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.01326, allocations: 113.1 kB / 0.8233 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002773/0.01354, allocations: 0.586 MB / 0.8239 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.01356, allocations: 11.89 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.01357, allocations: 3.984 kB / 0.8239 GB, free: 12.98 MB / 0.8073 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.746e-05/0.01363, allocations: 113.8 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.01364, allocations: 7.938 kB / 0.824 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.01371, allocations: 45.38 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01371, allocations: 0 / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01371, allocations: 0 / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01372, allocations: 0 / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.386e-05/0.01378, allocations: 77.88 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01378, allocations: 0 / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.01396, allocations: 31.95 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.01397, allocations: 7.953 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01397, allocations: 0 / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.01398, allocations: 3.938 kB / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000216/0.01419, allocations: 0.5977 MB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01419, allocations: 0 / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.995e-05/0.01424, allocations: 57.08 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.01426, allocations: 4 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.01427, allocations: 3.984 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-06/0.01428, allocations: 0 / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.01428, allocations: 7.938 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.0143, allocations: 23.95 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0143, allocations: 0 / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003222/0.01752, allocations: 51.91 kB / 0.8249 GB, free: 11.88 MB / 0.8073 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.0002202/0.01774, allocations: 140.1 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01789, allocations: 62.53 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01789, allocations: 0 / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/0.01792, allocations: 16.86 kB / 0.8251 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.01804, allocations: 7.938 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.01853, allocations: 140.6 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.01857, allocations: 55.36 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.01859, allocations: 7.984 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.01864, allocations: 51.38 kB / 0.8253 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.01864, allocations: 4 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of Templates: time 0.006878/0.02552, allocations: 1.729 MB / 0.827 GB, free: 9.613 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.ref.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.594107656739652]