Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_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=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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001548/0.001548, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.94 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.683/0.993, allocations: 20.24 MB / 1.084 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.006, allocations: 6.447 MB / 1.09 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/1.01, allocations: 84.53 kB / 1.09 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006987/1.017, allocations: 2.24 MB / 1.093 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/1.022, allocations: 1.179 MB / 1.094 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005091/1.028, allocations: 1.282 MB / 1.095 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009546/1.037, allocations: 4.857 MB / 1.1 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/1.048, allocations: 5.622 MB / 1.105 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006127/1.054, allocations: 2.086 MB / 1.107 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006519/1.061, allocations: 2.337 MB / 1.11 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002623/1.063, allocations: 429.8 kB / 1.11 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/1.069, allocations: 1.001 MB / 1.111 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005138/1.074, allocations: 1.664 MB / 1.113 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008557/1.083, allocations: 1.92 MB / 1.114 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/1.099, allocations: 6.477 MB / 1.121 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.099, allocations: 1.609 kB / 1.121 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/1.099, allocations: 0 / 1.121 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003432/1.099, allocations: 0 / 1.121 GB, free: 14.45 MB / 0.8575 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.01912/1.118, allocations: 3.447 MB / 1.124 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/1.119, allocations: 10.03 kB / 1.124 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/1.125, allocations: 0.6484 MB / 1.125 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00741/1.132, allocations: 1.93 MB / 1.127 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/1.133, allocations: 226.2 kB / 1.127 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/1.135, allocations: 293.2 kB / 1.127 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/1.156, allocations: 4.89 MB / 1.132 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/1.156, allocations: 10.28 kB / 1.132 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00206/1.158, allocations: 129.3 kB / 1.132 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000727/1.159, allocations: 227.8 kB / 1.132 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/1.172, allocations: 3.759 MB / 1.136 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03984/1.212, allocations: 21.57 MB / 1.157 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/1.214, allocations: 1.318 MB / 1.158 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/1.216, allocations: 1.042 MB / 1.159 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/1.217, allocations: 11.16 kB / 1.159 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/1.217, allocations: 49.02 kB / 1.159 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 4.478e-06/1.217, allocations: 4 kB / 1.159 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02881/1.245, allocations: 8.654 MB / 1.168 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/1.246, allocations: 64.78 kB / 1.168 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/1.248, allocations: 1.127 MB / 1.169 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/1.248, allocations: 53.95 kB / 1.169 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.249, allocations: 1.302 MB / 1.17 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/1.25, allocations: 480 kB / 1.171 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005816/1.25, allocations: 293.3 kB / 1.171 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.25, allocations: 307.6 kB / 1.171 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.252, allocations: 0.9157 MB / 1.172 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.254, allocations: 1.326 MB / 1.174 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/1.257, allocations: 2.43 MB / 1.176 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.257, allocations: 4 kB / 1.176 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00653/1.263, allocations: 3.464 MB / 1.179 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/1.263, allocations: 8 kB / 1.179 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.263, allocations: 20.16 kB / 1.179 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/1.267, allocations: 1.185 MB / 1.18 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.268, allocations: 259.5 kB / 1.181 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.286, allocations: 13.85 MB / 1.194 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.288, allocations: 87.97 kB / 1.194 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.288, allocations: 64 kB / 1.194 GB, free: 2.48 MB / 0.9044 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 (132): * Single equations (assignments): 129 * 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%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002753/1.291, allocations: 1.11 MB / 1.195 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.292, allocations: 162.5 kB / 1.196 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005937/1.298, allocations: 3.169 MB / 1.199 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.298, allocations: 15.94 kB / 1.199 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.963e-05/1.298, allocations: 15.94 kB / 1.199 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.298, allocations: 11.97 kB / 1.199 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.31, allocations: 6.241 MB / 1.205 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.31, allocations: 4 kB / 1.205 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/1.311, allocations: 143.8 kB / 1.205 GB, free: 7.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/1.314, allocations: 1.095 MB / 1.206 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.314, allocations: 24 kB / 1.206 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/1.333, allocations: 13.54 MB / 1.219 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.333, allocations: 8.062 kB / 1.219 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006231/1.339, allocations: 3.146 MB / 1.222 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.341, allocations: 431 kB / 1.223 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/1.341, allocations: 31.94 kB / 1.223 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/1.342, allocations: 83.89 kB / 1.223 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.343, allocations: 128.6 kB / 1.223 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.343, allocations: 40 kB / 1.223 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001245/1.344, allocations: 0.7632 MB / 1.224 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.344, allocations: 0 / 1.224 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003119/1.347, allocations: 0.6562 MB / 1.224 GB, free: 2.961 MB / 0.9356 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 (70): * Single equations (assignments): 67 * 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%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003251/1.347, allocations: 147.6 kB / 1.225 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00672/1.354, allocations: 3.627 MB / 1.228 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.354, allocations: 0 / 1.228 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003477/1.358, allocations: 1.955 MB / 1.23 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.361, allocations: 0.5054 MB / 1.231 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.374, allocations: 5.868 MB / 1.236 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.377, allocations: 2.391 MB / 1.239 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/1.378, allocations: 95.38 kB / 1.239 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of SimCode: time 1.172e-06/1.378, allocations: 0 / 1.239 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.1114/1.489, allocations: 79.44 MB / 1.316 GB, free: 4.82 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches