Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001192/0.001192, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.002184, 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.0006886/0.0006886, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008871/0.001576, 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.8745/0.8745, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08039/0.9549, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.74/1.74, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4225/2.163, allocations: 123.3 MB / 0.7281 GB, free: 5.801 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.731e-05, allocations: 7.016 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008623/0.00864, allocations: 11.99 MB / 0.7411 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.01384, allocations: 3.829 MB / 0.7448 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.01451, allocations: 111.9 kB / 0.7449 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.01529, allocations: 0.5332 MB / 0.7454 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.01661, allocations: 1.329 MB / 0.7467 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.01777, allocations: 1.005 MB / 0.7477 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.02117, allocations: 5.573 MB / 0.7532 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.0237, allocations: 3.218 MB / 0.7563 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.02674, allocations: 3.374 MB / 0.7596 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.02891, allocations: 2.66 MB / 0.7622 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003486/0.02926, allocations: 432 kB / 0.7626 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.02993, allocations: 0.512 MB / 0.7631 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.03098, allocations: 1.712 MB / 0.7648 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.03196, allocations: 1.143 MB / 0.7659 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.03414, allocations: 3.206 MB / 0.769 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.03415, allocations: 0 / 0.769 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.153e-06/0.03415, allocations: 7.062 kB / 0.769 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.88e-05/0.03419, allocations: 0 / 0.769 GB, free: 11.76 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003287/0.03748, allocations: 3.947 MB / 0.7729 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.03751, allocations: 8.031 kB / 0.7729 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.03908, allocations: 0.8932 MB / 0.7738 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.04065, allocations: 1.564 MB / 0.7753 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.04074, allocations: 218.3 kB / 0.7755 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.04101, allocations: 300.3 kB / 0.7758 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.04342, allocations: 2.869 MB / 0.7786 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.04347, allocations: 20 kB / 0.7786 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.04365, allocations: 131.9 kB / 0.7787 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.04386, allocations: 216.5 kB / 0.7789 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.04489, allocations: 0.7853 MB / 0.7797 GB, free: 444 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.05201, allocations: 10.44 MB / 0.7899 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.05251, allocations: 0.5274 MB / 0.7904 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.05286, allocations: 340.9 kB / 0.7907 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.05291, allocations: 17 kB / 0.7908 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.05293, allocations: 48.47 kB / 0.7908 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=107): time 2.214e-06/0.05294, allocations: 0 / 0.7908 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.007152/0.06009, allocations: 3.927 MB / 0.7946 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.06012, allocations: 64.41 kB / 0.7947 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.06064, allocations: 0.8882 MB / 0.7956 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.06069, allocations: 45.7 kB / 0.7956 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.0611, allocations: 1.192 MB / 0.7968 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.06128, allocations: 400.5 kB / 0.7972 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.06149, allocations: 235.4 kB / 0.7974 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.06158, allocations: 369.8 kB / 0.7977 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.06176, allocations: 159.9 kB / 0.7979 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.0621, allocations: 0.5448 MB / 0.7984 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.06275, allocations: 0.8447 MB / 0.7992 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.06276, allocations: 0 / 0.7992 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001324/0.06408, allocations: 1.158 MB / 0.8004 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.0641, allocations: 8.281 kB / 0.8004 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.06411, allocations: 19.94 kB / 0.8004 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.06527, allocations: 0.5843 MB / 0.801 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.06575, allocations: 247.6 kB / 0.8012 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.06966, allocations: 4.599 MB / 0.8057 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.07004, allocations: 43.94 kB / 0.8057 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.07009, allocations: 44 kB / 0.8058 GB, free: 4.875 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005237/0.07062, allocations: 196.3 kB / 0.806 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.07075, allocations: 131.9 kB / 0.8061 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.07197, allocations: 0.988 MB / 0.8071 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.07197, allocations: 12 kB / 0.8071 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.07198, allocations: 8 kB / 0.8071 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.07198, allocations: 7.969 kB / 0.8071 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.07466, allocations: 2.183 MB / 0.8092 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.07466, allocations: 0 / 0.8092 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.07495, allocations: 124.2 kB / 0.8093 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.07521, allocations: 222.9 kB / 0.8095 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.07627, allocations: 0.5558 MB / 0.8101 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.07631, allocations: 23.94 kB / 0.8101 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.07999, allocations: 4.612 MB / 0.8146 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.08, allocations: 4 kB / 0.8146 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.08117, allocations: 1.131 MB / 0.8157 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.08127, allocations: 27.98 kB / 0.8158 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.08153, allocations: 20 kB / 0.8158 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.08165, allocations: 100.7 kB / 0.8159 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.08168, allocations: 24 kB / 0.8159 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002753/0.08196, allocations: 434 kB / 0.8163 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.21e-07/0.08196, allocations: 0 / 0.8163 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001022/0.08298, allocations: 0.6055 MB / 0.8169 GB, free: 9.121 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/0.08313, allocations: 116.2 kB / 0.817 GB, free: 9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.08436, allocations: 1.263 MB / 0.8182 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.831e-05/0.0844, allocations: 32.42 kB / 0.8183 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/0.08518, allocations: 0.9189 MB / 0.8192 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.08614, allocations: 0.5785 MB / 0.8197 GB, free: 6.176 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.1039, allocations: 4.808 MB / 0.8244 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.1046, allocations: 0.7541 MB / 0.8252 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005227/0.1051, allocations: 172.5 kB / 0.8253 GB, free: 336 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.1057, allocations: 387.1 kB / 0.8257 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of SimCode: time 1.473e-06/0.1057, allocations: 0 / 0.8257 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of Templates: time 0.03232/0.138, allocations: 30.28 MB / 0.8553 GB, free: 2.262 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.009163152426481]