Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001903/0.001903, allocations: 88.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.002422/0.002422, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.897/2.897, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.558e-05, allocations: 3.031 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02045/0.02048, allocations: 13.11 MB / 0.8236 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.03719, allocations: 8.998 MB / 0.8324 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.03874, allocations: 92.31 kB / 0.8325 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.04385, allocations: 1.667 MB / 0.8341 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/0.04905, allocations: 1.629 MB / 0.8357 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.05144, allocations: 0.7636 MB / 0.8365 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004471/0.05591, allocations: 2.605 MB / 0.839 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.0583, allocations: 1.18 MB / 0.8401 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.06159, allocations: 1.582 MB / 0.8417 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.0637, allocations: 0.9543 MB / 0.8426 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.0642, allocations: 164 kB / 0.8428 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.06617, allocations: 0.7327 MB / 0.8435 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.06726, allocations: 0.6503 MB / 0.8441 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.0685, allocations: 0.6429 MB / 0.8448 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.07286, allocations: 2.8 MB / 0.8475 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.07286, allocations: 0 / 0.8475 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.063e-06/0.07286, allocations: 0 / 0.8475 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.146e-05/0.07294, allocations: 0 / 0.8475 GB, free: 12.47 MB / 0.8073 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.005563/0.07851, allocations: 2.089 MB / 0.8495 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.07856, allocations: 8.031 kB / 0.8495 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.09146, allocations: 2.308 MB / 0.8518 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.09449, allocations: 1.235 MB / 0.853 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.09461, allocations: 90.73 kB / 0.8531 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/0.09509, allocations: 132.3 kB / 0.8532 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.1023, allocations: 2.909 MB / 0.8561 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.1023, allocations: 7.938 kB / 0.8561 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.1025, allocations: 51.98 kB / 0.8561 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007298/0.1033, allocations: 182.1 kB / 0.8563 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008568/0.1118, allocations: 2.807 MB / 0.859 GB, free: 368 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.1287, allocations: 8.249 MB / 0.8671 GB, free: 7.934 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.1362, allocations: 2.229 MB / 0.8693 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/0.1397, allocations: 1.218 MB / 0.8704 GB, free: 4.477 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.1398, allocations: 13 kB / 0.8705 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.1398, allocations: 55.48 kB / 0.8705 GB, free: 4.402 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.515e-06/0.1398, allocations: 4 kB / 0.8705 GB, free: 4.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.05204/0.1919, allocations: 12.9 MB / 0.8831 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.1919, allocations: 72.7 kB / 0.8832 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.1935, allocations: 0.9795 MB / 0.8841 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.1937, allocations: 49.7 kB / 0.8842 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.1945, allocations: 0.7354 MB / 0.8849 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006172/0.1951, allocations: 464 kB / 0.8853 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/0.1957, allocations: 255.5 kB / 0.8856 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1959, allocations: 357.9 kB / 0.8859 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.1997, allocations: 1.362 MB / 0.8873 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.2037, allocations: 1.612 MB / 0.8888 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/0.2115, allocations: 3.03 MB / 0.8918 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2115, allocations: 0 / 0.8918 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01396/0.2254, allocations: 4.561 MB / 0.8962 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.2255, allocations: 8 kB / 0.8963 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.2255, allocations: 11.94 kB / 0.8963 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009248/0.2347, allocations: 1.849 MB / 0.8981 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.2371, allocations: 447.1 kB / 0.8985 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03584/0.2729, allocations: 25.24 MB / 0.9231 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.2757, allocations: 315.5 kB / 0.9235 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.276, allocations: 59.97 kB / 0.9235 GB, free: 12.42 MB / 0.8855 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.2771, allocations: 433.5 kB / 0.9239 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.2777, allocations: 199 kB / 0.9241 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.2916, allocations: 4.498 MB / 0.9285 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.2916, allocations: 12 kB / 0.9285 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/0.2917, allocations: 16 kB / 0.9285 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.2917, allocations: 11.91 kB / 0.9285 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.3099, allocations: 6.309 MB / 0.9347 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.3099, allocations: 4 kB / 0.9347 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.312, allocations: 383.3 kB / 0.9351 GB, free: 404 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008562/0.3206, allocations: 1.74 MB / 0.9368 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.3208, allocations: 39.97 kB / 0.9368 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03332/0.3541, allocations: 24.09 MB / 0.9603 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.3542, allocations: 7.984 kB / 0.9603 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.3675, allocations: 4.315 MB / 0.9646 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.3687, allocations: 378.9 kB / 0.9649 GB, free: 364 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.3691, allocations: 31.94 kB / 0.9649 GB, free: 332 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.3714, allocations: 311.5 kB / 0.9652 GB, free: 20 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005325/0.3719, allocations: 132.6 kB / 0.9654 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.3721, allocations: 51.97 kB / 0.9654 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001178/0.3733, allocations: 0.6467 MB / 0.9661 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 0.9661 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002489/0.3758, allocations: 0.582 MB / 0.9666 GB, free: 14.61 MB / 0.9323 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003937/0.3762, allocations: 148.4 kB / 0.9668 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.389, allocations: 5.01 MB / 0.9717 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.389, allocations: 4 kB / 0.9717 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008135/0.3971, allocations: 3.443 MB / 0.975 GB, free: 5.652 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.3998, allocations: 0.5313 MB / 0.9755 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.4097, allocations: 4.046 MB / 0.9795 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.4111, allocations: 0.8945 MB / 0.9804 GB, free: 100 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001667/0.4128, allocations: 408.4 kB / 0.9808 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.4133, allocations: 104.4 kB / 0.9809 GB, free: 15.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/0.4133, allocations: 4 kB / 0.9809 GB, free: 15.59 MB / 0.948 GB Notification: Performance of Templates: time 0.07284/0.4861, allocations: 41.32 MB / 1.021 GB, free: 6.992 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 9.69588442496024]