Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.001538/0.001538, allocations: 84.73 kB / 19.44 MB, free: 360 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.001809/0.001809, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.751/1.751, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.27/3.27, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.1.|m_flow.2.|m_flow.3.|m_flow_nominal|dp|dpCalc.1.|dpCalc.2.|dpCalc.3.|deltaDp.1.|deltaDp.2.|deltaDp.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.1.|m_flow.2.|m_flow.3.|m_flow_nominal|dp|dpCalc.1.|dpCalc.2.|dpCalc.3.|deltaDp.1.|deltaDp.2.|deltaDp.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.438e-05, allocations: 7.844 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.003029/0.003063, allocations: 1.393 MB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004685, allocations: 0.8605 MB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.004717, allocations: 1.062 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.004769, allocations: 7.922 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.004902, allocations: 21 kB / 0.8799 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.005655, allocations: 237.2 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.00593, allocations: 180.8 kB / 0.8803 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.005971, allocations: 4 kB / 0.8803 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.006101, allocations: 67.89 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.006249, allocations: 72.92 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.006285, allocations: 8 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.006999, allocations: 383.5 kB / 0.8808 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007105, allocations: 64.53 kB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.007194, allocations: 47.84 kB / 0.8809 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.007857, allocations: 395.3 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007859, allocations: 0.8438 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00786, allocations: 0 / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.007866, allocations: 1.25 kB / 0.8812 GB, free: 2.789 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007491/0.008615, allocations: 416.9 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.008655, allocations: 8.031 kB / 0.8817 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.009731, allocations: 179 kB / 0.8818 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.009889, allocations: 126.5 kB / 0.8819 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.00992, allocations: 8.375 kB / 0.882 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.009949, allocations: 4.375 kB / 0.882 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.01049, allocations: 173.1 kB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.0105, allocations: 192 / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.01052, allocations: 4.375 kB / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.01053, allocations: 384 / 0.8821 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.01133, allocations: 221.1 kB / 0.8823 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.01194, allocations: 328.2 kB / 0.8827 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.01306, allocations: 329.5 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.01348, allocations: 125.3 kB / 0.8831 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.0135, allocations: 8 kB / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.01354, allocations: 38.55 kB / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.01355, allocations: 0 / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.001332/0.01488, allocations: 381.1 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.01492, allocations: 55.41 kB / 0.8835 GB, free: 316 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.01516, allocations: 203.7 kB / 0.8837 GB, free: 104 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.0152, allocations: 29.7 kB / 0.8838 GB, free: 68 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01531, allocations: 108.5 kB / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.01535, allocations: 31.69 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01548, allocations: 65.67 kB / 0.884 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.01566, allocations: 322.8 kB / 0.8843 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.01613, allocations: 155.9 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.01661, allocations: 189.6 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.01747, allocations: 291.7 kB / 0.8849 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01748, allocations: 0 / 0.8849 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001099/0.01857, allocations: 405.1 kB / 0.8853 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01859, allocations: 10.34 kB / 0.8853 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/0.01884, allocations: 7.938 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.01886, allocations: 0 / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.01917, allocations: 39.95 kB / 0.8853 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01918, allocations: 7.938 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.01941, allocations: 39.75 kB / 0.8854 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.01945, allocations: 11.97 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000153/0.0196, allocations: 129.8 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.01966, allocations: 19.91 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.01971, allocations: 13.41 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01972, allocations: 4 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01972, allocations: 0 / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01972, allocations: 112 / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01998, allocations: 165.1 kB / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01998, allocations: 0 / 0.8857 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.02026, allocations: 43.89 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02026, allocations: 0 / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.02029, allocations: 8 kB / 0.8857 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.02029, allocations: 7.922 kB / 0.8858 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02029, allocations: 0 / 0.8858 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.02122, allocations: 359.2 kB / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.02125, allocations: 19.91 kB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.02128, allocations: 0 / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.02151, allocations: 19.92 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.02155, allocations: 7.984 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.02157, allocations: 3.984 kB / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001419/0.02171, allocations: 141.7 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02171, allocations: 0 / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003437/0.02206, allocations: 55.92 kB / 0.8863 GB, free: 13.35 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 (10): * Single equations (assignments): 10 * 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.0002162/0.02227, allocations: 107.2 kB / 0.8864 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.02331, allocations: 388.8 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.02332, allocations: 4 kB / 0.8868 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.02371, allocations: 115.8 kB / 0.8869 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.02409, allocations: 32.03 kB / 0.887 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.02521, allocations: 387.1 kB / 0.8873 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.02534, allocations: 112.6 kB / 0.8874 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.02552, allocations: 60.38 kB / 0.8875 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.02562, allocations: 20.48 kB / 0.8875 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.02562, allocations: 0 / 0.8875 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.006934/0.03256, allocations: 2.807 MB / 0.8902 GB, free: 9.301 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.578338618041016]