Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001087/0.001087, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002638, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001096/0.001096, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002404, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08158/1.018, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.729/1.729, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4452/2.174, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.362e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02015/0.02016, allocations: 20.5 MB / 0.7494 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.03202, allocations: 10.52 MB / 0.7596 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.03338, allocations: 212.8 kB / 0.7598 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.03465, allocations: 0.9035 MB / 0.7607 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.03832, allocations: 3.177 MB / 0.7638 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.04061, allocations: 1.835 MB / 0.7656 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006492/0.04711, allocations: 9.96 MB / 0.7753 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.0515, allocations: 5.476 MB / 0.7807 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005974/0.05747, allocations: 6.307 MB / 0.7869 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.06138, allocations: 4.362 MB / 0.7911 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.0624, allocations: 0.7109 MB / 0.7918 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.0636, allocations: 0.8053 MB / 0.7926 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001799/0.0654, allocations: 2.861 MB / 0.7954 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.06724, allocations: 2.005 MB / 0.7973 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.07103, allocations: 5.484 MB / 0.8027 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.07104, allocations: 0.6875 kB / 0.8027 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.694e-06/0.07104, allocations: 3.938 kB / 0.8027 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.618e-05/0.07112, allocations: 0.5938 kB / 0.8027 GB, free: 9.148 MB / 0.7761 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.00546/0.07658, allocations: 6.907 MB / 0.8094 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.07661, allocations: 12.03 kB / 0.8095 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.07951, allocations: 1.588 MB / 0.811 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.08221, allocations: 2.69 MB / 0.8136 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.08237, allocations: 374.4 kB / 0.814 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.08282, allocations: 0.5012 MB / 0.8145 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.08668, allocations: 4.869 MB / 0.8192 GB, free: 7.648 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.793e-05/0.08676, allocations: 28.62 kB / 0.8193 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.08706, allocations: 212 kB / 0.8195 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003971/0.08746, allocations: 365.7 kB / 0.8198 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.08914, allocations: 1.307 MB / 0.8211 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.1012, allocations: 16.67 MB / 0.8374 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.1019, allocations: 0.8067 MB / 0.8382 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.1025, allocations: 0.6084 MB / 0.8388 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-05/0.1026, allocations: 30 kB / 0.8388 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1026, allocations: 56.56 kB / 0.8388 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=171): time 4.558e-06/0.1026, allocations: 3.984 kB / 0.8388 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.01153/0.1141, allocations: 6.577 MB / 0.8453 GB, free: 12.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1142, allocations: 69.41 kB / 0.8453 GB, free: 12.42 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1152, allocations: 1.683 MB / 0.847 GB, free: 10.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.1153, allocations: 57.7 kB / 0.847 GB, free: 10.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000708/0.116, allocations: 1.998 MB / 0.849 GB, free: 8.633 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.1162, allocations: 0.6195 MB / 0.8496 GB, free: 8.008 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.1166, allocations: 363.7 kB / 0.8499 GB, free: 7.645 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.1166, allocations: 309.1 kB / 0.8502 GB, free: 7.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.117, allocations: 260.2 kB / 0.8505 GB, free: 7.082 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.1175, allocations: 0.8288 MB / 0.8513 GB, free: 6.004 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.1185, allocations: 1.317 MB / 0.8526 GB, free: 4.445 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.1185, allocations: 4 kB / 0.8526 GB, free: 4.441 MB / 0.823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002383/0.1209, allocations: 1.994 MB / 0.8545 GB, free: 2.426 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1209, allocations: 18.12 kB / 0.8545 GB, free: 2.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.1209, allocations: 20.34 kB / 0.8546 GB, free: 2.391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/0.1233, allocations: 1.2 MB / 0.8557 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.124, allocations: 387.4 kB / 0.8561 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006818/0.1309, allocations: 7.689 MB / 0.8636 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.1316, allocations: 71.92 kB / 0.8637 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.1317, allocations: 64 kB / 0.8637 GB, free: 8.691 MB / 0.8386 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007652/0.1325, allocations: 236.2 kB / 0.864 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.1327, allocations: 235.7 kB / 0.8642 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.1348, allocations: 1.771 MB / 0.8659 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1349, allocations: 19.94 kB / 0.8659 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1349, allocations: 16 kB / 0.8659 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1349, allocations: 7.969 kB / 0.866 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.1392, allocations: 3.618 MB / 0.8695 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.1392, allocations: 4 kB / 0.8695 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.1397, allocations: 196.2 kB / 0.8697 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.1401, allocations: 366.1 kB / 0.87 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/0.1424, allocations: 1.179 MB / 0.8712 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.1424, allocations: 32 kB / 0.8712 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006662/0.1491, allocations: 7.669 MB / 0.8787 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1491, allocations: 7.938 kB / 0.8787 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.1512, allocations: 1.875 MB / 0.8805 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.1514, allocations: 40 kB / 0.8806 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.1519, allocations: 36 kB / 0.8806 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.1521, allocations: 156.9 kB / 0.8808 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.1522, allocations: 36 kB / 0.8808 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005493/0.1527, allocations: 0.8547 MB / 0.8816 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1527, allocations: 0 / 0.8816 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001902/0.1546, allocations: 1.082 MB / 0.8827 GB, free: 4.754 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.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.0001791/0.1548, allocations: 140.2 kB / 0.8828 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.157, allocations: 2.136 MB / 0.8849 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.161e-05/0.157, allocations: 53.67 kB / 0.885 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.1585, allocations: 1.577 MB / 0.8865 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.1603, allocations: 1.203 MB / 0.8877 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/0.1935, allocations: 8.218 MB / 0.8957 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.1945, allocations: 1.238 MB / 0.8969 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001046/0.1955, allocations: 331.1 kB / 0.8972 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.1966, allocations: 0.741 MB / 0.8979 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/0.1966, allocations: 0 / 0.8979 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of Templates: time 0.06197/0.2586, allocations: 57.7 MB / 0.9543 GB, free: 12.47 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.665501976385713]