Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.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.0009458/0.0009458, allocations: 100.3 kB / 19.71 MB, free: 440 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.001218/0.001218, allocations: 216.2 kB / 23 MB, free: 2.977 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.028/1.028, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.444/2.444, allocations: 0.5701 GB / 0.876 GB, free: 16.52 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.InvertingPowerLaw_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 72.41 kB / 1.275 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3201, allocations: 196.8 MB / 1.467 GB, free: 3.715 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.00186/0.322, allocations: 1.381 MB / 1.468 GB, free: 2.324 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.3229, allocations: 0.9012 MB / 1.469 GB, free: 1.418 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.3229, allocations: 0 / 1.469 GB, free: 1.418 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3229, allocations: 3.938 kB / 1.469 GB, free: 1.414 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.323, allocations: 11.94 kB / 1.469 GB, free: 1.402 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.3235, allocations: 278.9 kB / 1.47 GB, free: 1.129 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.3235, allocations: 31.86 kB / 1.47 GB, free: 1.098 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.3236, allocations: 15.92 kB / 1.47 GB, free: 1.082 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.3236, allocations: 15.94 kB / 1.47 GB, free: 1.066 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.3236, allocations: 15.92 kB / 1.47 GB, free: 1.051 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.3236, allocations: 3.984 kB / 1.47 GB, free: 1.047 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.3241, allocations: 491.3 kB / 1.47 GB, free: 0.5664 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.3241, allocations: 11.94 kB / 1.47 GB, free: 0.5547 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.3241, allocations: 15.92 kB / 1.47 GB, free: 0.5391 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.3244, allocations: 287.2 kB / 1.47 GB, free: 264 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3244, allocations: 0 / 1.47 GB, free: 264 kB / 1.135 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3244, allocations: 0 / 1.47 GB, free: 264 kB / 1.135 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3244, allocations: 0 / 1.47 GB, free: 264 kB / 1.135 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.0003351/0.3248, allocations: 353.2 kB / 1.471 GB, free: 15.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3248, allocations: 11.98 kB / 1.471 GB, free: 15.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3248, allocations: 4.938 kB / 1.471 GB, free: 15.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.3249, allocations: 118.4 kB / 1.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3249, allocations: 4.375 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.3249, allocations: 384 / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.325, allocations: 37.81 kB / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.325, allocations: 8 kB / 1.471 GB, free: 15.67 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.325, allocations: 0 / 1.471 GB, free: 15.67 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.325, allocations: 0 / 1.471 GB, free: 15.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.325, allocations: 8 kB / 1.471 GB, free: 15.66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.837e-05/0.3251, allocations: 117.3 kB / 1.471 GB, free: 15.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.3252, allocations: 30.5 kB / 1.471 GB, free: 15.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.3252, allocations: 16.91 kB / 1.471 GB, free: 15.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3252, allocations: 0 / 1.471 GB, free: 15.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.3252, allocations: 30.56 kB / 1.471 GB, free: 15.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.3252, allocations: 4 kB / 1.471 GB, free: 15.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.3253, allocations: 49.59 kB / 1.471 GB, free: 15.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.3254, allocations: 51.41 kB / 1.471 GB, free: 15.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.3254, allocations: 133 kB / 1.471 GB, free: 15.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3254, allocations: 25.7 kB / 1.471 GB, free: 15.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.3255, allocations: 92.09 kB / 1.472 GB, free: 15.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3255, allocations: 11.88 kB / 1.472 GB, free: 15.03 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.3255, allocations: 21.72 kB / 1.472 GB, free: 15 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.3256, allocations: 318.8 kB / 1.472 GB, free: 14.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.3256, allocations: 16 kB / 1.472 GB, free: 14.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.3256, allocations: 16 kB / 1.472 GB, free: 14.65 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.3257, allocations: 44.78 kB / 1.472 GB, free: 14.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3257, allocations: 0 / 1.472 GB, free: 14.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.469e-05/0.3257, allocations: 77.62 kB / 1.472 GB, free: 14.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3258, allocations: 11.94 kB / 1.472 GB, free: 14.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3258, allocations: 4 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3258, allocations: 3.938 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3259, allocations: 16 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002404/0.3261, allocations: 0.6016 MB / 1.473 GB, free: 13.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.3261, allocations: 7.984 kB / 1.473 GB, free: 13.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3262, allocations: 0 / 1.473 GB, free: 13.85 MB / 1.151 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.789e-05/0.3262, allocations: 117.7 kB / 1.473 GB, free: 13.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-06/0.3262, allocations: 4.094 kB / 1.473 GB, free: 13.72 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/0.3263, allocations: 57.25 kB / 1.473 GB, free: 13.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3263, allocations: 4 kB / 1.473 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3263, allocations: 0 / 1.473 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3263, allocations: 3.938 kB / 1.473 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.669e-05/0.3264, allocations: 121.1 kB / 1.473 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3264, allocations: 0 / 1.473 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.3264, allocations: 23.97 kB / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3264, allocations: 0 / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.3264, allocations: 4 kB / 1.473 GB, free: 13.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001826/0.3266, allocations: 0.5939 MB / 1.474 GB, free: 12.86 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3266, allocations: 0 / 1.474 GB, free: 12.86 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.852e-05/0.3266, allocations: 76.98 kB / 1.474 GB, free: 12.76 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.3267, allocations: 11.95 kB / 1.474 GB, free: 12.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.3267, allocations: 0 / 1.474 GB, free: 12.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.3267, allocations: 0 / 1.474 GB, free: 12.75 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.3267, allocations: 11.92 kB / 1.474 GB, free: 12.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3267, allocations: 0 / 1.474 GB, free: 12.74 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.3267, allocations: 95.27 kB / 1.474 GB, free: 12.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3267, allocations: 0 / 1.474 GB, free: 12.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001386/0.3269, allocations: 40 kB / 1.474 GB, free: 12.61 MB / 1.151 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.0001563/0.327, allocations: 131.1 kB / 1.474 GB, free: 12.47 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3272, allocations: 85.55 kB / 1.474 GB, free: 12.38 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.3272, allocations: 0 / 1.474 GB, free: 12.38 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.3272, allocations: 16 kB / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3273, allocations: 11.42 kB / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.3276, allocations: 163.6 kB / 1.474 GB, free: 12.16 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.3276, allocations: 63.34 kB / 1.474 GB, free: 12.08 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.3276, allocations: 7.438 kB / 1.474 GB, free: 12.07 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/0.3276, allocations: 0 / 1.474 GB, free: 12.07 MB / 1.151 GB Notification: Performance of Templates: time 0.002286/0.3299, allocations: 1.31 MB / 1.475 GB, free: 10.77 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_inv.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: 8.284809046424925]