Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001489/0.001489, allocations: 84.39 kB / 20.23 MB, free: 4.172 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.001589/0.001589, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.811/2.811, allocations: 359 MB / 0.6048 GB, free: 10.94 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,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.008e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04125/0.04128, allocations: 28.74 MB / 0.8145 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.06676, allocations: 13.07 MB / 0.8272 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005106/0.07187, allocations: 198.4 kB / 0.8274 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.08255, allocations: 3.219 MB / 0.8306 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00923/0.09178, allocations: 2.826 MB / 0.8333 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.09794, allocations: 2.046 MB / 0.8353 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01209/0.11, allocations: 7.781 MB / 0.8429 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/0.1203, allocations: 4.624 MB / 0.8474 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.1327, allocations: 4.904 MB / 0.8522 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008167/0.1408, allocations: 3.055 MB / 0.8552 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.1435, allocations: 0.5938 MB / 0.8558 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.1492, allocations: 1.423 MB / 0.8572 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.005318/0.1545, allocations: 2.521 MB / 0.8596 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.006605/0.1611, allocations: 1.988 MB / 0.8616 GB, free: 15.55 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.1784, allocations: 9.622 MB / 0.871 GB, free: 5.902 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1784, allocations: 0 / 0.871 GB, free: 5.902 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1784, allocations: 0 / 0.871 GB, free: 5.902 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003794/0.1788, allocations: 0 / 0.871 GB, free: 5.902 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0158/0.1946, allocations: 5.117 MB / 0.876 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1946, allocations: 12.03 kB / 0.876 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008996/0.2036, allocations: 1.574 MB / 0.8775 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008491/0.2121, allocations: 3.192 MB / 0.8806 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004584/0.2126, allocations: 316.8 kB / 0.8809 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.2143, allocations: 432.3 kB / 0.8813 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.235, allocations: 7.367 MB / 0.8885 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.2353, allocations: 23.77 kB / 0.8886 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.237, allocations: 184 kB / 0.8887 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.2382, allocations: 372 kB / 0.8891 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.252, allocations: 5.106 MB / 0.8941 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03995/0.292, allocations: 19.18 MB / 0.9128 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.2947, allocations: 1.309 MB / 0.9141 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.297, allocations: 1.246 MB / 0.9153 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.2971, allocations: 21.31 kB / 0.9153 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.2972, allocations: 51.88 kB / 0.9154 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 5.881e-06/0.2972, allocations: 0 / 0.9154 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.09529/0.3925, allocations: 22.86 MB / 0.9377 GB, free: 372 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.3926, allocations: 77.34 kB / 0.9378 GB, free: 284 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.3963, allocations: 1.853 MB / 0.9396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003216/0.3966, allocations: 65.7 kB / 0.9396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/0.3987, allocations: 2.065 MB / 0.9417 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/0.3996, allocations: 0.701 MB / 0.9423 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.4007, allocations: 404.4 kB / 0.9427 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4009, allocations: 301.1 kB / 0.943 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.4035, allocations: 1.437 MB / 0.9444 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.4071, allocations: 2.01 MB / 0.9464 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/0.4133, allocations: 3.692 MB / 0.95 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.4133, allocations: 4 kB / 0.95 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01336/0.4266, allocations: 5.682 MB / 0.9555 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.4267, allocations: 16.03 kB / 0.9556 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.4267, allocations: 16 kB / 0.9556 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.4369, allocations: 2.446 MB / 0.958 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.4386, allocations: 383.4 kB / 0.9583 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05055/0.4892, allocations: 35.96 MB / 0.9934 GB, free: 4.727 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.4918, allocations: 128 kB / 0.9936 GB, free: 4.602 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004928/0.4923, allocations: 96 kB / 0.9937 GB, free: 4.508 MB / 0.948 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003745/0.496, allocations: 1.504 MB / 0.9951 GB, free: 2.992 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.4972, allocations: 334.3 kB / 0.9954 GB, free: 2.664 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.5096, allocations: 5.138 MB / 1 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.5096, allocations: 23.94 kB / 1 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-05/0.5097, allocations: 16 kB / 1.001 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.261e-05/0.5097, allocations: 7.969 kB / 1.001 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/0.5319, allocations: 8.454 MB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.5319, allocations: 8 kB / 1.009 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.5329, allocations: 215.7 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00923/0.5421, allocations: 2.193 MB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.5423, allocations: 44 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04804/0.5904, allocations: 34.98 MB / 1.045 GB, free: 13.42 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.5904, allocations: 7.938 kB / 1.045 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.6022, allocations: 4.878 MB / 1.05 GB, free: 8.371 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/0.6038, allocations: 0.5333 MB / 1.051 GB, free: 7.836 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/0.6044, allocations: 43.89 kB / 1.051 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.6061, allocations: 131.8 kB / 1.051 GB, free: 7.664 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007121/0.6068, allocations: 197.6 kB / 1.051 GB, free: 7.473 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.607, allocations: 56 kB / 1.051 GB, free: 7.418 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002437/0.6094, allocations: 1.211 MB / 1.052 GB, free: 6.191 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6094, allocations: 3.938 kB / 1.052 GB, free: 6.188 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004003/0.6134, allocations: 1.051 MB / 1.053 GB, free: 5.137 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003851/0.6138, allocations: 174.9 kB / 1.053 GB, free: 4.957 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3279/0.9417, allocations: 5.998 MB / 1.059 GB, free: 287.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/0.9417, allocations: 2.875 kB / 1.059 GB, free: 287.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005687/0.9474, allocations: 4.275 MB / 1.063 GB, free: 285.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/0.9513, allocations: 0.9093 MB / 1.064 GB, free: 285.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.9632, allocations: 8.358 MB / 1.072 GB, free: 282.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/0.966, allocations: 2.583 MB / 1.075 GB, free: 282.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001728/0.9677, allocations: 0.4937 MB / 1.075 GB, free: 282.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.9681, allocations: 133.9 kB / 1.076 GB, free: 282.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/0.9681, allocations: 0 / 1.076 GB, free: 282.2 MB / 1.01 GB Notification: Performance of Templates: time 0.08607/1.054, allocations: 60.51 MB / 1.135 GB, free: 257.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.484281319077127]