Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.002224/0.002224, allocations: 85.48 kB / 19.44 MB, free: 340 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.002855/0.002855, 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.408/3.408, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.736e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04938/0.0494, allocations: 33.53 MB / 0.9102 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.07788, allocations: 15.03 MB / 0.9249 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.08127, allocations: 210.4 kB / 0.9251 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.09214, allocations: 3.768 MB / 0.9288 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.009213/0.1014, allocations: 3.078 MB / 0.9318 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007245/0.1086, allocations: 2.361 MB / 0.9341 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.1226, allocations: 9.001 MB / 0.9429 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.1335, allocations: 5.527 MB / 0.9483 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.1458, allocations: 5.727 MB / 0.9539 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007929/0.1537, allocations: 3.901 MB / 0.9577 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/0.156, allocations: 0.7148 MB / 0.9584 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.1606, allocations: 1.638 MB / 0.96 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005228/0.1658, allocations: 3.059 MB / 0.9629 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006387/0.1722, allocations: 2.386 MB / 0.9653 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.1896, allocations: 11.43 MB / 0.9764 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1896, allocations: 0 / 0.9764 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1896, allocations: 0 / 0.9764 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003129/0.19, allocations: 0 / 0.9764 GB, free: 0.9023 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01778/0.2077, allocations: 6.831 MB / 0.9831 GB, free: 10 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2078, allocations: 12.03 kB / 0.9831 GB, free: 9.988 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008295/0.2161, allocations: 1.807 MB / 0.9849 GB, free: 8.176 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00984/0.2259, allocations: 3.448 MB / 0.9883 GB, free: 4.645 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004225/0.2263, allocations: 374.4 kB / 0.9886 GB, free: 4.277 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.2279, allocations: 0.5042 MB / 0.9891 GB, free: 3.773 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.2426, allocations: 5.998 MB / 0.995 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/0.2428, allocations: 31.72 kB / 0.995 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007356/0.2435, allocations: 220 kB / 0.9952 GB, free: 13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.2447, allocations: 433.6 kB / 0.9956 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007987/0.2527, allocations: 2.263 MB / 0.9978 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04854/0.3012, allocations: 28.88 MB / 1.026 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.3035, allocations: 1.016 MB / 1.027 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.3053, allocations: 0.8728 MB / 1.028 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3054, allocations: 30 kB / 1.028 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.3057, allocations: 63.38 kB / 1.028 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 3.747e-06/0.3057, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.03167/0.3374, allocations: 9.829 MB / 1.038 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.3374, allocations: 81.58 kB / 1.038 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.3415, allocations: 2.58 MB / 1.04 GB, free: 14.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.3419, allocations: 73.7 kB / 1.04 GB, free: 13.98 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/0.3445, allocations: 2.545 MB / 1.043 GB, free: 11.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.3459, allocations: 1.093 MB / 1.044 GB, free: 10.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.3472, allocations: 0.6342 MB / 1.044 GB, free: 9.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.3474, allocations: 480.7 kB / 1.045 GB, free: 9.188 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3495, allocations: 0.8882 MB / 1.046 GB, free: 8.297 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.3526, allocations: 1.882 MB / 1.048 GB, free: 6.082 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005911/0.3585, allocations: 3.212 MB / 1.051 GB, free: 2.508 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/0.3585, allocations: 8 kB / 1.051 GB, free: 2.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.3983/0.7568, allocations: 4.93 MB / 1.056 GB, free: 189.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.7568, allocations: 10.69 kB / 1.056 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.7568, allocations: 17.69 kB / 1.056 GB, free: 189.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.7678, allocations: 2.918 MB / 1.058 GB, free: 189.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.7694, allocations: 413 kB / 1.059 GB, free: 189.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0296/0.799, allocations: 23.11 MB / 1.081 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/0.8019, allocations: 166.9 kB / 1.082 GB, free: 177 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.8022, allocations: 108.3 kB / 1.082 GB, free: 177 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.8038, allocations: 0.4965 MB / 1.082 GB, free: 176.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007396/0.8045, allocations: 399.3 kB / 1.082 GB, free: 176.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.815, allocations: 4.444 MB / 1.087 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.815, allocations: 26.91 kB / 1.087 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.13e-05/0.8151, allocations: 32.23 kB / 1.087 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/0.8151, allocations: 10.22 kB / 1.087 GB, free: 175 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/0.8363, allocations: 9.943 MB / 1.097 GB, free: 170.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.8364, allocations: 7.781 kB / 1.097 GB, free: 170.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8374, allocations: 237.6 kB / 1.097 GB, free: 170.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/0.8479, allocations: 2.673 MB / 1.099 GB, free: 170.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/0.8482, allocations: 60.94 kB / 1.1 GB, free: 170.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03003/0.8782, allocations: 22.67 MB / 1.122 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.8782, allocations: 11.55 kB / 1.122 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.8885, allocations: 4.473 MB / 1.126 GB, free: 152.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/0.8905, allocations: 0.6458 MB / 1.127 GB, free: 152.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/0.891, allocations: 55.12 kB / 1.127 GB, free: 152 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.8928, allocations: 171.7 kB / 1.127 GB, free: 152 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009821/0.8938, allocations: 263.5 kB / 1.127 GB, free: 152 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/0.894, allocations: 80.12 kB / 1.127 GB, free: 151.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002161/0.8961, allocations: 1.461 MB / 1.129 GB, free: 151.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8961, allocations: 0 / 1.129 GB, free: 151.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004446/0.9006, allocations: 1.375 MB / 1.13 GB, free: 151.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.9009, allocations: 177 kB / 1.13 GB, free: 151.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009354/0.9103, allocations: 5.232 MB / 1.135 GB, free: 148.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.9103, allocations: 4.844 kB / 1.135 GB, free: 148.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006549/0.9169, allocations: 3.939 MB / 1.139 GB, free: 146.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.9209, allocations: 1.016 MB / 1.14 GB, free: 146 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9347, allocations: 9.15 MB / 1.149 GB, free: 141.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.9382, allocations: 2.8 MB / 1.152 GB, free: 140.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001734/0.9399, allocations: 473 kB / 1.152 GB, free: 140.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.9402, allocations: 146.2 kB / 1.152 GB, free: 140.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.252e-06/0.9402, allocations: 3.938 kB / 1.152 GB, free: 140.5 MB / 1.01 GB Notification: Performance of Templates: time 0.09114/1.031, allocations: 76.58 MB / 1.227 GB, free: 71.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 11.279312347993255]