Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001468/0.001468, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001671/0.001671, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.737/2.737, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.577e-06/3.577e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.907e-05/4.265e-05, allocations: 7.125 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.05013/0.05017, allocations: 33.01 MB / 0.8186 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02535/0.07552, allocations: 11.39 MB / 0.8298 GB, free: 288 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0047/0.08022, allocations: 211.5 kB / 0.83 GB, free: 76 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01397/0.09418, allocations: 4.281 MB / 0.8341 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007777/0.102, allocations: 2.148 MB / 0.8362 GB, free: 9.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.008517/0.1105, allocations: 2.427 MB / 0.8386 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01426/0.1247, allocations: 8.611 MB / 0.847 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.141, allocations: 6.189 MB / 0.8531 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.1553, allocations: 5.407 MB / 0.8583 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009524/0.1648, allocations: 3.905 MB / 0.8622 GB, free: 14.91 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.1679, allocations: 0.7812 MB / 0.8629 GB, free: 14.13 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006696/0.1746, allocations: 1.922 MB / 0.8648 GB, free: 12.21 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.007404/0.182, allocations: 3.278 MB / 0.868 GB, free: 8.922 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.007659/0.1897, allocations: 2.378 MB / 0.8703 GB, free: 6.539 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0232/0.2129, allocations: 12.25 MB / 0.8823 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.2129, allocations: 4 kB / 0.8823 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2129, allocations: 0 / 0.8823 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005247/0.2134, allocations: 0 / 0.8823 GB, free: 10.25 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02089/0.2343, allocations: 5.812 MB / 0.888 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.2343, allocations: 8.031 kB / 0.888 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.2449, allocations: 1.784 MB / 0.8897 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008799/0.2537, allocations: 3.601 MB / 0.8932 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/0.2542, allocations: 419.5 kB / 0.8936 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.2563, allocations: 0.5471 MB / 0.8942 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.2777, allocations: 9.384 MB / 0.9033 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.2779, allocations: 23.97 kB / 0.9034 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/0.2786, allocations: 240.3 kB / 0.9036 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004589/0.2791, allocations: 354.7 kB / 0.9039 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.2942, allocations: 6.822 MB / 0.9106 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04707/0.3413, allocations: 24.43 MB / 0.9344 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.3457, allocations: 2.294 MB / 0.9367 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.3491, allocations: 1.779 MB / 0.9384 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3493, allocations: 34 kB / 0.9384 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.3493, allocations: 56.5 kB / 0.9385 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=179): time 4.138e-06/0.3493, allocations: 0 / 0.9385 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=182): time 0.02938/0.3787, allocations: 9.737 MB / 0.948 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.3788, allocations: 73.34 kB / 0.9481 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.3815, allocations: 1.453 MB / 0.9495 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.3817, allocations: 53.7 kB / 0.9496 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/0.3842, allocations: 2.315 MB / 0.9518 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009421/0.3851, allocations: 0.6545 MB / 0.9525 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000908/0.386, allocations: 404.1 kB / 0.9528 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3862, allocations: 305.1 kB / 0.9531 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.3883, allocations: 1.183 MB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/0.3912, allocations: 1.881 MB / 0.9561 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/0.3969, allocations: 3.363 MB / 0.9594 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.3969, allocations: 8 kB / 0.9594 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01012/0.4071, allocations: 4.633 MB / 0.9639 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.4071, allocations: 19.94 kB / 0.964 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.428e-05/0.4072, allocations: 24 kB / 0.964 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.4131, allocations: 1.721 MB / 0.9657 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.4146, allocations: 355.3 kB / 0.966 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02996/0.4446, allocations: 17.94 MB / 0.9835 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4464, allocations: 115.9 kB / 0.9836 GB, free: 208 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/0.4468, allocations: 99.98 kB / 0.9837 GB, free: 108 kB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003878/0.4507, allocations: 1.898 MB / 0.9856 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008446/0.4515, allocations: 282.8 kB / 0.9858 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008952/0.4605, allocations: 4.044 MB / 0.9898 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.4605, allocations: 20 kB / 0.9898 GB, free: 9.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-05/0.4605, allocations: 16 kB / 0.9898 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.4606, allocations: 7.969 kB / 0.9898 GB, free: 9.797 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.4781, allocations: 7.833 MB / 0.9975 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.4781, allocations: 11.94 kB / 0.9975 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.4791, allocations: 187.7 kB / 0.9977 GB, free: 1.648 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004912/0.484, allocations: 1.487 MB / 0.9991 GB, free: 156 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/0.4843, allocations: 36 kB / 0.9992 GB, free: 120 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/0.5121, allocations: 16.7 MB / 1.015 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.5121, allocations: 7.938 kB / 1.015 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/0.5206, allocations: 4.082 MB / 1.019 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.5219, allocations: 470.4 kB / 1.02 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/0.5224, allocations: 32 kB / 1.02 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.5235, allocations: 91.89 kB / 1.02 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/0.524, allocations: 173.5 kB / 1.02 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.5242, allocations: 44 kB / 1.02 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001863/0.526, allocations: 0.931 MB / 1.021 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.526, allocations: 0 / 1.021 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003441/0.5295, allocations: 0.9961 MB / 1.022 GB, free: 8.113 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003189/0.5298, allocations: 155 kB / 1.022 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007976/0.5378, allocations: 4.17 MB / 1.026 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5378, allocations: 0 / 1.026 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/0.543, allocations: 2.582 MB / 1.029 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/0.5468, allocations: 0.7623 MB / 1.03 GB, free: 376 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.5658, allocations: 8.989 MB / 1.038 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/0.5715, allocations: 3.039 MB / 1.041 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001592/0.5731, allocations: 451.2 kB / 1.042 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.5734, allocations: 108.5 kB / 1.042 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of SimCode: time 1.614e-06/0.5734, allocations: 0 / 1.042 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of Templates: time 0.3975/0.9709, allocations: 44.79 MB / 1.086 GB, free: 265 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 9.697801609989256]