Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.002323/0.002323, allocations: 85.48 kB / 19.44 MB, free: 344 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.002826/0.002826, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.304/3.304, allocations: 429.5 MB / 0.6729 GB, free: 4.039 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.827e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02201/0.02204, allocations: 14.87 MB / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.04125, allocations: 10.45 MB / 0.9022 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.04279, allocations: 91.19 kB / 0.9023 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00517/0.04796, allocations: 1.723 MB / 0.9039 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.05395, allocations: 1.904 MB / 0.9058 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.05615, allocations: 0.7675 MB / 0.9066 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00517/0.06132, allocations: 2.846 MB / 0.9093 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.06374, allocations: 1.196 MB / 0.9105 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.06785, allocations: 2.105 MB / 0.9126 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.06976, allocations: 0.9738 MB / 0.9135 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003153/0.07008, allocations: 160 kB / 0.9137 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.0718, allocations: 0.7327 MB / 0.9144 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.07282, allocations: 0.6347 MB / 0.915 GB, free: 112 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.07388, allocations: 0.6468 MB / 0.9156 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.07805, allocations: 2.788 MB / 0.9184 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.07806, allocations: 0 / 0.9184 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.432e-06/0.07806, allocations: 0 / 0.9184 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.07812, allocations: 0 / 0.9184 GB, free: 12.66 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004911/0.08303, allocations: 2.365 MB / 0.9207 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.08307, allocations: 12.03 kB / 0.9207 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.09366, allocations: 1.797 MB / 0.9224 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.09681, allocations: 1.25 MB / 0.9237 GB, free: 7.145 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.09691, allocations: 90.67 kB / 0.9237 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.09721, allocations: 120.3 kB / 0.9239 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.1019, allocations: 2.091 MB / 0.9259 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.102, allocations: 15.81 kB / 0.9259 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.1022, allocations: 55.98 kB / 0.926 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000736/0.1029, allocations: 190.1 kB / 0.9261 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/0.1076, allocations: 1.359 MB / 0.9275 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.1235, allocations: 8.909 MB / 0.9362 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.1274, allocations: 1.025 MB / 0.9372 GB, free: 8.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.1292, allocations: 0.5496 MB / 0.9377 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.1293, allocations: 17 kB / 0.9377 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1294, allocations: 46.33 kB / 0.9378 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 3.396e-06/0.1294, allocations: 0 / 0.9378 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=153): time 0.02717/0.1565, allocations: 7.033 MB / 0.9446 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.1566, allocations: 64.72 kB / 0.9447 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.1585, allocations: 1.282 MB / 0.946 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.1588, allocations: 57.7 kB / 0.946 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/0.1596, allocations: 0.8606 MB / 0.9468 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/0.1604, allocations: 0.5852 MB / 0.9474 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007155/0.1611, allocations: 329.1 kB / 0.9477 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002613/0.1614, allocations: 484.8 kB / 0.9482 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.1635, allocations: 0.7065 MB / 0.9489 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.1661, allocations: 1.136 MB / 0.95 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/0.1712, allocations: 1.913 MB / 0.9519 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.1712, allocations: 15.92 kB / 0.9519 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01134/0.1826, allocations: 3.375 MB / 0.9552 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.1826, allocations: 11.94 kB / 0.9552 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1826, allocations: 8 kB / 0.9552 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.1926, allocations: 1.845 MB / 0.957 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.1943, allocations: 311.4 kB / 0.9573 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/0.2259, allocations: 20.64 MB / 0.9774 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.2281, allocations: 191.7 kB / 0.9776 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.2283, allocations: 67.97 kB / 0.9777 GB, free: 13.93 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007576/0.2291, allocations: 320.3 kB / 0.978 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.2296, allocations: 215 kB / 0.9782 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.241, allocations: 3.28 MB / 0.9814 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.241, allocations: 16 kB / 0.9814 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/0.241, allocations: 16 kB / 0.9814 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.241, allocations: 7.969 kB / 0.9814 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.2556, allocations: 4.933 MB / 0.9863 GB, free: 4.969 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.2557, allocations: 8 kB / 0.9863 GB, free: 4.961 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.257, allocations: 239.6 kB / 0.9865 GB, free: 4.727 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008575/0.2656, allocations: 1.732 MB / 0.9882 GB, free: 2.965 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.2657, allocations: 47.95 kB / 0.9882 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/0.2952, allocations: 20.35 MB / 1.008 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2952, allocations: 4 kB / 1.008 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.3056, allocations: 3.177 MB / 1.011 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.3069, allocations: 386.7 kB / 1.012 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/0.3071, allocations: 28.03 kB / 1.012 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.3089, allocations: 207.7 kB / 1.012 GB, free: 9.699 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.3094, allocations: 160.9 kB / 1.012 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.3096, allocations: 51.97 kB / 1.012 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001188/0.3108, allocations: 0.7777 MB / 1.013 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 0 / 1.013 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002147/0.3129, allocations: 0.6562 MB / 1.013 GB, free: 8.051 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/0.3132, allocations: 139.1 kB / 1.014 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009497/0.3227, allocations: 3.975 MB / 1.017 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/0.3227, allocations: 4 kB / 1.017 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006721/0.3295, allocations: 3.089 MB / 1.02 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.3319, allocations: 0.521 MB / 1.021 GB, free: 48 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.3396, allocations: 3.473 MB / 1.024 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.341, allocations: 0.9369 MB / 1.025 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001321/0.3423, allocations: 313.2 kB / 1.026 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.3427, allocations: 100.4 kB / 1.026 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.754e-06/0.3427, allocations: 0 / 1.026 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.4047/0.7474, allocations: 47.49 MB / 1.072 GB, free: 195.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.188256643945351]