Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 190.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.856, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0309/0.8869, allocations: 26.43 MB / 0.9749 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.9049, allocations: 8.014 MB / 0.9828 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004412/0.9094, allocations: 104.1 kB / 0.9829 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008313/0.9177, allocations: 2.579 MB / 0.9854 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.9244, allocations: 1.465 MB / 0.9868 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.9305, allocations: 1.528 MB / 0.9883 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009593/0.9402, allocations: 6.158 MB / 0.9943 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01551/0.9557, allocations: 8.954 MB / 1.003 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.9609, allocations: 2.616 MB / 1.006 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.966, allocations: 2.975 MB / 1.009 GB, free: 5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001873/0.9679, allocations: 0.5078 MB / 1.009 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.9723, allocations: 1.283 MB / 1.01 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003929/0.9762, allocations: 2.047 MB / 1.012 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006549/0.9828, allocations: 2.385 MB / 1.015 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.9965, allocations: 8.067 MB / 1.022 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9965, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9965, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003696/0.9969, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01441/1.011, allocations: 4.232 MB / 1.027 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.011, allocations: 8.031 kB / 1.027 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/1.017, allocations: 0.8039 MB / 1.027 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/1.024, allocations: 2.424 MB / 1.03 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/1.024, allocations: 271.6 kB / 1.03 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/1.027, allocations: 380.5 kB / 1.03 GB, free: 14.44 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/1.045, allocations: 5.988 MB / 1.036 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/1.045, allocations: 19.78 kB / 1.036 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/1.046, allocations: 160 kB / 1.036 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006688/1.047, allocations: 282.9 kB / 1.037 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/1.058, allocations: 4.52 MB / 1.041 GB, free: 3.219 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03675/1.094, allocations: 27.66 MB / 1.068 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.096, allocations: 1.12 MB / 1.069 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/1.098, allocations: 1.021 MB / 1.07 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/1.098, allocations: 16.97 kB / 1.07 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.098, allocations: 51.56 kB / 1.07 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.367e-06/1.098, allocations: 0 / 1.07 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02382/1.122, allocations: 9.665 MB / 1.08 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/1.122, allocations: 72.66 kB / 1.08 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.125, allocations: 1.494 MB / 1.081 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.125, allocations: 53.64 kB / 1.081 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.126, allocations: 1.663 MB / 1.083 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/1.127, allocations: 469.3 kB / 1.083 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008807/1.128, allocations: 331.2 kB / 1.084 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.128, allocations: 309.1 kB / 1.084 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.13, allocations: 0.9135 MB / 1.085 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/1.132, allocations: 1.459 MB / 1.086 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/1.135, allocations: 2.55 MB / 1.089 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/1.135, allocations: 4 kB / 1.089 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00681/1.142, allocations: 3.29 MB / 1.092 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/1.142, allocations: 12 kB / 1.092 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.142, allocations: 16.09 kB / 1.092 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/1.145, allocations: 0.7412 MB / 1.093 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.146, allocations: 387.3 kB / 1.093 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.163, allocations: 17.05 MB / 1.11 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.165, allocations: 99.91 kB / 1.11 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/1.166, allocations: 72 kB / 1.11 GB, free: 8.129 MB / 0.8731 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 (193): * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002731/1.169, allocations: 1.317 MB / 1.111 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/1.169, allocations: 197.7 kB / 1.111 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/1.175, allocations: 2.788 MB / 1.114 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.175, allocations: 12 kB / 1.114 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-05/1.175, allocations: 4 kB / 1.114 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.175, allocations: 11.97 kB / 1.114 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.19, allocations: 6.224 MB / 1.12 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/1.19, allocations: 4 kB / 1.12 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.192, allocations: 239.6 kB / 1.12 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/1.194, allocations: 0.6715 MB / 1.121 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/1.194, allocations: 32 kB / 1.121 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.212, allocations: 16.79 MB / 1.138 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.212, allocations: 11.94 kB / 1.138 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00739/1.219, allocations: 4 MB / 1.141 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.221, allocations: 450.7 kB / 1.142 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006819/1.222, allocations: 43.92 kB / 1.142 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.223, allocations: 79.89 kB / 1.142 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/1.223, allocations: 124.7 kB / 1.142 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.223, allocations: 36 kB / 1.142 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002053/1.225, allocations: 0.9903 MB / 1.143 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.225, allocations: 0 / 1.143 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00334/1.229, allocations: 0.6836 MB / 1.144 GB, free: 3.809 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/1.229, allocations: 159 kB / 1.144 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007011/1.236, allocations: 4.101 MB / 1.148 GB, free: 15.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.236, allocations: 3.938 kB / 1.148 GB, free: 15.42 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/1.24, allocations: 2.303 MB / 1.15 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/1.243, allocations: 0.6661 MB / 1.151 GB, free: 12.37 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.259, allocations: 8.11 MB / 1.159 GB, free: 4.172 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005466/1.265, allocations: 2.668 MB / 1.161 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002293/1.267, allocations: 493.4 kB / 1.162 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/1.268, allocations: 119.4 kB / 1.162 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of SimCode: time 1.383e-06/1.268, allocations: 0 / 1.162 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of Templates: time 0.06832/1.336, allocations: 33.83 MB / 1.195 GB, free: 15.53 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches