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.001889/0.001889, allocations: 93.47 kB / 19.44 MB, free: 332 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.002153/0.002153, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.301/3.301, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.563e-06/1.563e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.544e-05, allocations: 3.625 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002915/0.002941, allocations: 1.397 MB / 0.8788 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.004592, allocations: 0.9224 MB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.00462, allocations: 0.6562 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.004669, allocations: 10.08 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.004789, allocations: 19.84 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.005441, allocations: 234.2 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.005693, allocations: 175.6 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.005726, allocations: 0 / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.00584, allocations: 75.88 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.005977, allocations: 67.86 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.006011, allocations: 8.875 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.006688, allocations: 387.4 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.006789, allocations: 64.95 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.006868, allocations: 43.91 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.007495, allocations: 398.8 kB / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007498, allocations: 1.125 kB / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.007498, allocations: 0 / 0.8812 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.007503, allocations: 0 / 0.8812 GB, free: 2.859 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.0007764/0.008279, allocations: 0.5155 MB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.008317, allocations: 8.031 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/0.009223, allocations: 141.1 kB / 0.8818 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.009378, allocations: 128.8 kB / 0.8819 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.009404, allocations: 8.359 kB / 0.8819 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.009431, allocations: 4.375 kB / 0.8819 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.009798, allocations: 118.1 kB / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.009807, allocations: 192 / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.009825, allocations: 384 / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.009832, allocations: 4.375 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.01034, allocations: 120.4 kB / 0.8822 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.01101, allocations: 364.5 kB / 0.8825 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.01171, allocations: 173.1 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.01198, allocations: 75.58 kB / 0.8828 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.01201, allocations: 4 kB / 0.8828 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.01204, allocations: 38.39 kB / 0.8828 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.01204, allocations: 0 / 0.8828 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0009082/0.01295, allocations: 210.1 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.013, allocations: 55.41 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01326, allocations: 259.2 kB / 0.8833 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.0133, allocations: 25.7 kB / 0.8833 GB, free: 488 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01341, allocations: 147.3 kB / 0.8835 GB, free: 336 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.01346, allocations: 35.73 kB / 0.8835 GB, free: 300 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.01359, allocations: 71.33 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003183/0.01391, allocations: 0.5001 MB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.01419, allocations: 79.95 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.01452, allocations: 123.3 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.01509, allocations: 189.8 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01509, allocations: 0 / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007671/0.01586, allocations: 265.2 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.01588, allocations: 12.03 kB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.01591, allocations: 7.938 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.01592, allocations: 3.984 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.01618, allocations: 31.97 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01618, allocations: 0 / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.01635, allocations: 31.73 kB / 0.8848 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.01638, allocations: 11.98 kB / 0.8848 GB, free: 14.94 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.000145/0.01653, allocations: 160.5 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.01659, allocations: 20.02 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.01664, allocations: 29.33 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.01664, allocations: 4 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01665, allocations: 0 / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.01665, allocations: 0 / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.0169, allocations: 160.5 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.0169, allocations: 0 / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.01712, allocations: 31.97 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01712, allocations: 0 / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.01715, allocations: 7.984 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01715, allocations: 3.938 kB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01715, allocations: 4 kB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.01803, allocations: 303.8 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.01806, allocations: 11.91 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.01809, allocations: 4 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.01827, allocations: 11.92 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.01831, allocations: 11.98 kB / 0.8855 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.01832, allocations: 0 / 0.8855 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001376/0.01846, allocations: 173.6 kB / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01846, allocations: 0 / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003263/0.01879, allocations: 55.94 kB / 0.8857 GB, free: 13.91 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.0002087/0.019, allocations: 115.2 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007315/0.01973, allocations: 268.6 kB / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01973, allocations: 0 / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.01999, allocations: 75.58 kB / 0.8862 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.02033, allocations: 45.05 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.02119, allocations: 316.8 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02132, allocations: 108.6 kB / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.02146, allocations: 40.44 kB / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.02156, allocations: 20.48 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.02156, allocations: 0 / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.006888/0.02845, allocations: 2.818 MB / 0.8894 GB, free: 10.07 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] 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.546137081924826]