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.002233/0.002233, allocations: 84.06 kB / 19.44 MB, free: 336 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.002085/0.002085, allocations: 169.3 kB / 22.76 MB, free: 1.656 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 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.394/3.394, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] 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.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.076e-05, allocations: 2.875 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002622/0.002653, allocations: 1.447 MB / 0.8789 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004455, allocations: 1.053 MB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.004495, allocations: 0 / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.004519, allocations: 3.938 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.00465, allocations: 23.78 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.00534, allocations: 247.1 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.005475, allocations: 71.64 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.005514, allocations: 0 / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.269e-05/0.005596, allocations: 39.91 kB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.005703, allocations: 36.42 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.005721, allocations: 1 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.006408, allocations: 411.3 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.006436, allocations: 15.92 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.006478, allocations: 23.97 kB / 0.8808 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.007039, allocations: 339 kB / 0.8811 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007042, allocations: 0 / 0.8811 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.007043, allocations: 0 / 0.8811 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.007047, allocations: 0 / 0.8811 GB, free: 2.957 MB / 0.8386 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.0007394/0.007786, allocations: 483 kB / 0.8815 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.007825, allocations: 8.031 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.008457, allocations: 72.75 kB / 0.8816 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.008668, allocations: 129.2 kB / 0.8817 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.008688, allocations: 4.375 kB / 0.8817 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.008704, allocations: 4.375 kB / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.008919, allocations: 62.22 kB / 0.8818 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008928, allocations: 192 / 0.8818 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.008943, allocations: 4.125 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.008947, allocations: 0 / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.00919, allocations: 55.89 kB / 0.8819 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.009412, allocations: 132.6 kB / 0.882 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.009773, allocations: 99 kB / 0.8821 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.009891, allocations: 31.75 kB / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.009912, allocations: 0 / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.00995, allocations: 41.33 kB / 0.8822 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.009951, allocations: 0 / 0.8822 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004678/0.01042, allocations: 121.5 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.01047, allocations: 59.34 kB / 0.8823 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.01067, allocations: 211.6 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.0107, allocations: 29.7 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.01078, allocations: 134.9 kB / 0.8827 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.01081, allocations: 15.84 kB / 0.8827 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.01089, allocations: 35.36 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.01117, allocations: 0.4923 MB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.01157, allocations: 51.98 kB / 0.8833 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01171, allocations: 47.97 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.01198, allocations: 99.31 kB / 0.8834 GB, free: 388 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01198, allocations: 3.938 kB / 0.8834 GB, free: 384 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00038/0.01236, allocations: 161.5 kB / 0.8836 GB, free: 216 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01238, allocations: 8 kB / 0.8836 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.01239, allocations: 0 / 0.8836 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01241, allocations: 7.938 kB / 0.8836 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.01259, allocations: 19.98 kB / 0.8836 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.0126, allocations: 4 kB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.01275, allocations: 15.94 kB / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.01276, allocations: 4 kB / 0.8836 GB, free: 156 kB / 0.8386 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 0.0001528/0.01292, allocations: 156.5 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.01294, allocations: 11.95 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.01298, allocations: 4.344 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.01299, allocations: 7.938 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01299, allocations: 4 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.01299, allocations: 3.984 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01314, allocations: 128.6 kB / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01314, allocations: 0 / 0.8839 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01326, allocations: 15.98 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01327, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01328, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01328, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01328, allocations: 3.938 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.0136, allocations: 128.4 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01362, allocations: 11.89 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01365, allocations: 3.984 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01377, allocations: 7.938 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.0138, allocations: 3.938 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.01381, allocations: 7.984 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000118/0.01392, allocations: 157 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01392, allocations: 0 / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002183/0.01414, allocations: 28 kB / 0.8843 GB, free: 15.41 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.0002177/0.01436, allocations: 119.2 kB / 0.8844 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.01476, allocations: 125.3 kB / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01476, allocations: 0 / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01488, allocations: 43.59 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01512, allocations: 12 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.01585, allocations: 210.3 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.01594, allocations: 75.59 kB / 0.8848 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.393e-05/0.01602, allocations: 11.98 kB / 0.8848 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.01608, allocations: 12.5 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01608, allocations: 0 / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.005656/0.02174, allocations: 1.93 MB / 0.8867 GB, free: 12.84 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/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: 8.585789463948458]