Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.0008802/0.0008802, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008628/0.0008628, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9002/0.9002, allocations: 177.1 MB / 202.8 MB, free: 5.727 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 1.763/1.763, allocations: 390.1 MB / 0.6341 GB, free: 11.58 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.681e-05, allocations: 2.281 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002018/0.002045, allocations: 1.409 MB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003245, allocations: 1.017 MB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.00329, allocations: 0 / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.003313, allocations: 7.875 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003426, allocations: 23.84 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.003896, allocations: 242.7 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.003994, allocations: 71.66 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.004043, allocations: 15.97 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.004107, allocations: 31.91 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.00419, allocations: 35.89 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.004206, allocations: 4 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.0046, allocations: 399.4 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.004622, allocations: 19.86 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.004651, allocations: 19.97 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.004998, allocations: 343 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005002, allocations: 4 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005003, allocations: 0 / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.005008, allocations: 7.938 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004844/0.005493, allocations: 377.1 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.00554, allocations: 8.031 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.005578, allocations: 34.75 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.005905, allocations: 56.8 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.006053, allocations: 129.7 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.00607, allocations: 384 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.006084, allocations: 384 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.006243, allocations: 66.2 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.006252, allocations: 4.125 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.006267, allocations: 7.938 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.006273, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.0064, allocations: 39.95 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.006568, allocations: 152.7 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.006779, allocations: 86.52 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.006843, allocations: 24.92 kB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.006857, allocations: 11.92 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.006874, allocations: 30.56 kB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.006875, allocations: 3.938 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.00028/0.007155, allocations: 117.5 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.007184, allocations: 55.41 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.007555, allocations: 152.2 kB / 1.006 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.007567, allocations: 25.7 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.007603, allocations: 92.09 kB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.007623, allocations: 15.89 kB / 1.006 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.007669, allocations: 29.7 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.007753, allocations: 318.8 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.007851, allocations: 51.95 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.007925, allocations: 47.97 kB / 1.007 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.008083, allocations: 103.8 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.008086, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002126/0.008299, allocations: 145.6 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.008316, allocations: 7.938 kB / 1.007 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.008332, allocations: 0 / 1.007 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.008349, allocations: 8 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.008456, allocations: 15.98 kB / 1.007 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.008462, allocations: 0 / 1.007 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.008529, allocations: 15.88 kB / 1.007 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.00854, allocations: 4 kB / 1.007 GB, free: 5.402 MB / 0.9636 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.075e-05/0.00861, allocations: 121.7 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.00862, allocations: 3.953 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.008657, allocations: 20.27 kB / 1.007 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008659, allocations: 3.938 kB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.008664, allocations: 4 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.008668, allocations: 4 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.147e-05/0.008759, allocations: 136.8 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008761, allocations: 0 / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.008823, allocations: 11.98 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008825, allocations: 0 / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.008837, allocations: 7.922 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008839, allocations: 0 / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008841, allocations: 0 / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.009026, allocations: 120.9 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.009044, allocations: 7.953 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.009062, allocations: 7.922 kB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.009105, allocations: 4 kB / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.009127, allocations: 7.984 kB / 1.008 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.009132, allocations: 0 / 1.008 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.009191, allocations: 113.5 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009191, allocations: 0 / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001613/0.009352, allocations: 31.92 kB / 1.008 GB, free: 4.734 MB / 0.9636 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.0004641/0.009816, allocations: 0.6597 MB / 1.008 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01004, allocations: 113.5 kB / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01005, allocations: 4 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.0101, allocations: 27.97 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.01033, allocations: 13.42 kB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.0118, allocations: 1.576 MB / 1.01 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.946e-05/0.01185, allocations: 79.7 kB / 1.01 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.619e-05/0.0119, allocations: 11.94 kB / 1.01 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.01197, allocations: 20.48 kB / 1.01 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01197, allocations: 0 / 1.01 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.02636, allocations: 3.808 MB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.298/6.324, allocations: 16.73 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.415619916282594]