Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 104.8 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 443.4 MB / 0.7286 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 68.12 kB / 1.056 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 160.7 MB / 1.213 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03429/1.038, allocations: 23.79 MB / 1.237 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01512/1.054, allocations: 6.539 MB / 1.243 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/1.057, allocations: 95.56 kB / 1.243 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005182/1.062, allocations: 1.527 MB / 1.245 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/1.068, allocations: 1.933 MB / 1.246 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004776/1.073, allocations: 1.466 MB / 1.248 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01194/1.085, allocations: 6.9 MB / 1.255 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/1.096, allocations: 5.2 MB / 1.26 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/1.102, allocations: 2.874 MB / 1.263 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007838/1.11, allocations: 3.743 MB / 1.266 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002322/1.112, allocations: 0.5234 MB / 1.267 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/1.117, allocations: 1.194 MB / 1.268 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.005387/1.122, allocations: 2.541 MB / 1.27 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007026/1.129, allocations: 2.528 MB / 1.273 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/1.144, allocations: 8.549 MB / 1.281 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/1.144, allocations: 4 kB / 1.281 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/1.144, allocations: 0 / 1.281 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003656/1.144, allocations: 0 / 1.281 GB, free: 2.621 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01679/1.161, allocations: 4.537 MB / 1.286 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.161, allocations: 12.92 kB / 1.286 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/1.171, allocations: 1.703 MB / 1.287 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007365/1.179, allocations: 2.709 MB / 1.29 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/1.179, allocations: 279.7 kB / 1.29 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/1.181, allocations: 364.3 kB / 1.291 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/1.201, allocations: 7.491 MB / 1.298 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001923/1.201, allocations: 15.88 kB / 1.298 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/1.203, allocations: 159.9 kB / 1.298 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007638/1.203, allocations: 487.3 kB / 1.298 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.217, allocations: 5.697 MB / 1.304 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0509/1.268, allocations: 31.54 MB / 1.335 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/1.272, allocations: 2.019 MB / 1.337 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/1.275, allocations: 2.112 MB / 1.339 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/1.275, allocations: 13.31 kB / 1.339 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/1.276, allocations: 51.88 kB / 1.339 GB, free: 4.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 4.108e-06/1.276, allocations: 0 / 1.339 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=251): time 0.3363/1.612, allocations: 76.8 MB / 1.414 GB, free: 7.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/1.612, allocations: 77.41 kB / 1.414 GB, free: 7.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.616, allocations: 1.674 MB / 1.416 GB, free: 5.512 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008354/1.616, allocations: 65.7 kB / 1.416 GB, free: 5.441 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.618, allocations: 1.796 MB / 1.417 GB, free: 3.629 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.62, allocations: 0.8946 MB / 1.418 GB, free: 2.727 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.621, allocations: 489.3 kB / 1.419 GB, free: 2.242 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.622, allocations: 301.1 kB / 1.419 GB, free: 1.945 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/1.626, allocations: 2.734 MB / 1.422 GB, free: 15.21 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00512/1.631, allocations: 3.332 MB / 1.425 GB, free: 11.63 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.641, allocations: 6.393 MB / 1.431 GB, free: 4.996 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/1.641, allocations: 4 kB / 1.431 GB, free: 4.992 MB / 1.139 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03667/1.678, allocations: 14.4 MB / 1.445 GB, free: 6.535 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/1.678, allocations: 12.94 kB / 1.445 GB, free: 6.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/1.678, allocations: 19.94 kB / 1.445 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/1.711, allocations: 9.247 MB / 1.454 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.713, allocations: 295.5 kB / 1.455 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09492/1.808, allocations: 52.41 MB / 1.506 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/1.811, allocations: 223.7 kB / 1.506 GB, free: 7.438 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007459/1.812, allocations: 99.98 kB / 1.506 GB, free: 7.34 MB / 1.217 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004057/1.816, allocations: 1.586 MB / 1.508 GB, free: 5.742 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.817, allocations: 262.5 kB / 1.508 GB, free: 5.484 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03706/1.854, allocations: 14.47 MB / 1.522 GB, free: 6.957 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/1.854, allocations: 24 kB / 1.522 GB, free: 6.934 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002134/1.855, allocations: 44 kB / 1.522 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.107e-05/1.855, allocations: 11.95 kB / 1.522 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05188/1.907, allocations: 20.25 MB / 1.542 GB, free: 2.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/1.907, allocations: 4 kB / 1.542 GB, free: 2.426 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.908, allocations: 163.8 kB / 1.542 GB, free: 2.266 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03308/1.941, allocations: 9.003 MB / 1.551 GB, free: 9.234 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007967/1.942, allocations: 48 kB / 1.551 GB, free: 9.188 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09366/2.035, allocations: 51.95 MB / 1.602 GB, free: 4.355 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/2.035, allocations: 11.94 kB / 1.602 GB, free: 4.344 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8712/2.906, allocations: 14.09 MB / 1.615 GB, free: 361.9 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/2.909, allocations: 0.8528 MB / 1.616 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005973/2.91, allocations: 48.91 kB / 1.616 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/2.912, allocations: 210.4 kB / 1.617 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001731/2.914, allocations: 249.7 kB / 1.617 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/2.914, allocations: 64.41 kB / 1.617 GB, free: 361.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001931/2.916, allocations: 1.128 MB / 1.618 GB, free: 361.7 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/2.916, allocations: 0 / 1.618 GB, free: 361.7 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006894/2.923, allocations: 1.611 MB / 1.619 GB, free: 361.7 MB / 1.311 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000533/2.923, allocations: 161.3 kB / 1.62 GB, free: 361.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0217/2.945, allocations: 10.23 MB / 1.63 GB, free: 359.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/2.945, allocations: 3.812 kB / 1.63 GB, free: 359.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/2.962, allocations: 6.999 MB / 1.636 GB, free: 357.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/2.965, allocations: 0.5534 MB / 1.637 GB, free: 356.9 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/2.982, allocations: 8.807 MB / 1.646 GB, free: 353 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/2.986, allocations: 3.222 MB / 1.649 GB, free: 351.2 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001141/2.987, allocations: 393.4 kB / 1.649 GB, free: 351 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/2.987, allocations: 99.44 kB / 1.649 GB, free: 350.9 MB / 1.311 GB Notification: Performance of SimCode: time 8.12e-07/2.987, allocations: 1.531 kB / 1.649 GB, free: 350.9 MB / 1.311 GB Notification: Performance of Templates: time 0.121/3.108, allocations: 93.64 MB / 1.741 GB, free: 258.1 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 12.75337228551507]