Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001427/0.001427, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001533/0.001533, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.825/2.825, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.114e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05354/0.05357, allocations: 35.68 MB / 0.8457 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.07755, allocations: 10.97 MB / 0.8564 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.08098, allocations: 202.5 kB / 0.8566 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01352/0.0945, allocations: 4.402 MB / 0.8609 GB, free: 14.73 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007389/0.1019, allocations: 2.38 MB / 0.8632 GB, free: 12.34 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007056/0.1089, allocations: 2.194 MB / 0.8653 GB, free: 10.14 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01408/0.123, allocations: 9.454 MB / 0.8746 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/0.137, allocations: 6.358 MB / 0.8808 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/0.1498, allocations: 5.75 MB / 0.8864 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008465/0.1583, allocations: 4.158 MB / 0.8905 GB, free: 252 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.1607, allocations: 0.836 MB / 0.8913 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.1651, allocations: 1.533 MB / 0.8928 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005468/0.1705, allocations: 3.395 MB / 0.8961 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006247/0.1768, allocations: 2.608 MB / 0.8986 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.1947, allocations: 12.69 MB / 0.911 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1947, allocations: 4 kB / 0.911 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1947, allocations: 0 / 0.911 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003598/0.195, allocations: 0 / 0.911 GB, free: 11.12 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01802/0.213, allocations: 6.376 MB / 0.9173 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2131, allocations: 12.03 kB / 0.9173 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008675/0.2218, allocations: 1.804 MB / 0.919 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009983/0.2317, allocations: 3.926 MB / 0.9229 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005421/0.2323, allocations: 423.8 kB / 0.9233 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.2344, allocations: 0.555 MB / 0.9238 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.2593, allocations: 10.27 MB / 0.9338 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/0.2595, allocations: 20.02 kB / 0.9339 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.2611, allocations: 244.3 kB / 0.9341 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007592/0.2618, allocations: 426.8 kB / 0.9345 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.2781, allocations: 7.108 MB / 0.9414 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0454/0.3235, allocations: 25.64 MB / 0.9665 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.3289, allocations: 2.89 MB / 0.9693 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/0.3323, allocations: 1.953 MB / 0.9712 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.3325, allocations: 38 kB / 0.9713 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.36e-05/0.3326, allocations: 60.42 kB / 0.9713 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=209): time 5.07e-06/0.3326, allocations: 0 / 0.9713 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of matching and sorting (n=212): time 0.03039/0.363, allocations: 10.33 MB / 0.9814 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.363, allocations: 73.41 kB / 0.9815 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.3661, allocations: 1.779 MB / 0.9832 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.3663, allocations: 65.7 kB / 0.9833 GB, free: 15.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002239/0.3686, allocations: 2.473 MB / 0.9857 GB, free: 13.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009265/0.3695, allocations: 0.7668 MB / 0.9864 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009655/0.3705, allocations: 477.5 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.3707, allocations: 305.1 kB / 0.9872 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.3731, allocations: 1.333 MB / 0.9885 GB, free: 10.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/0.3764, allocations: 2.198 MB / 0.9906 GB, free: 7.789 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006187/0.3826, allocations: 3.875 MB / 0.9944 GB, free: 3.531 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-05/0.3826, allocations: 8 kB / 0.9944 GB, free: 3.523 MB / 0.948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01001/0.3926, allocations: 5.125 MB / 0.9994 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.3927, allocations: 16 kB / 0.9994 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/0.3927, allocations: 31.98 kB / 0.9995 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.3975, allocations: 1.661 MB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.3993, allocations: 467.2 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02828/0.4276, allocations: 17.88 MB / 1.019 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.4297, allocations: 155.8 kB / 1.019 GB, free: 9.762 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/0.4302, allocations: 116 kB / 1.019 GB, free: 9.648 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003916/0.4341, allocations: 1.949 MB / 1.021 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009587/0.435, allocations: 350.3 kB / 1.021 GB, free: 7.344 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/0.444, allocations: 4.393 MB / 1.026 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.444, allocations: 20 kB / 1.026 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.4441, allocations: 19.94 kB / 1.026 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.4441, allocations: 11.95 kB / 1.026 GB, free: 2.867 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.4618, allocations: 8.334 MB / 1.034 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.4618, allocations: 4 kB / 1.034 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4629, allocations: 231.6 kB / 1.034 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/0.4674, allocations: 1.5 MB / 1.036 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.4676, allocations: 40 kB / 1.036 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02805/0.4957, allocations: 17.87 MB / 1.053 GB, free: 6.352 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.4957, allocations: 4 kB / 1.053 GB, free: 6.348 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009197/0.5049, allocations: 4.541 MB / 1.058 GB, free: 1.719 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.5065, allocations: 0.5372 MB / 1.058 GB, free: 1.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006191/0.5071, allocations: 44 kB / 1.058 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.5086, allocations: 111.9 kB / 1.058 GB, free: 1.027 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/0.5092, allocations: 197.4 kB / 1.058 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.5094, allocations: 60 kB / 1.059 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.3601/0.8695, allocations: 1.125 MB / 1.06 GB, free: 266.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8695, allocations: 0.9375 kB / 1.06 GB, free: 266.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003839/0.8734, allocations: 1.135 MB / 1.061 GB, free: 266.5 MB / 1.01 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/0.8738, allocations: 163.3 kB / 1.061 GB, free: 266.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006385/0.8802, allocations: 4.528 MB / 1.065 GB, free: 265.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.8802, allocations: 3.625 kB / 1.065 GB, free: 265.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003884/0.8841, allocations: 2.8 MB / 1.068 GB, free: 265.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.8877, allocations: 0.8305 MB / 1.069 GB, free: 265 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.9023, allocations: 9.649 MB / 1.078 GB, free: 260.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/0.9067, allocations: 3.161 MB / 1.081 GB, free: 259.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00178/0.9085, allocations: 0.5383 MB / 1.082 GB, free: 259.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.9089, allocations: 141.5 kB / 1.082 GB, free: 259.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/0.9089, allocations: 0 / 1.082 GB, free: 259.8 MB / 1.01 GB Notification: Performance of Templates: time 0.07439/0.9833, allocations: 51.69 MB / 1.132 GB, free: 239 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 10.131344650988467]