Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_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=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.002069/0.002069, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.06 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04358/0.3868, allocations: 37.95 MB / 1.056 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.4051, allocations: 11 MB / 1.067 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004483/0.4096, allocations: 155.2 kB / 1.067 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.4217, allocations: 4.364 MB / 1.071 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009294/0.431, allocations: 2.215 MB / 1.073 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.6388/1.07, allocations: 2.164 MB / 1.075 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01582/1.086, allocations: 9.286 MB / 1.084 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02413/1.11, allocations: 11.27 MB / 1.095 GB, free: 18.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/1.122, allocations: 3.995 MB / 1.099 GB, free: 18.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01176/1.134, allocations: 4.509 MB / 1.104 GB, free: 18.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004668/1.138, allocations: 0.8215 MB / 1.104 GB, free: 18.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008258/1.147, allocations: 1.588 MB / 1.106 GB, free: 18.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.008483/1.155, allocations: 3.149 MB / 1.109 GB, free: 17.19 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01547/1.171, allocations: 3.657 MB / 1.113 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02634/1.197, allocations: 12.31 MB / 1.125 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.197, allocations: 8.25 kB / 1.125 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/1.197, allocations: 0 / 1.125 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000579/1.198, allocations: 0 / 1.125 GB, free: 11.3 MB / 0.8419 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.0283/1.226, allocations: 6.326 MB / 1.131 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.655e-05/1.226, allocations: 8.672 kB / 1.131 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/1.238, allocations: 1.069 MB / 1.132 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.251, allocations: 3.6 MB / 1.135 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000491/1.252, allocations: 433.7 kB / 1.136 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003259/1.255, allocations: 0.5449 MB / 1.136 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/1.283, allocations: 9.373 MB / 1.146 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003685/1.283, allocations: 22.5 kB / 1.146 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003151/1.286, allocations: 244 kB / 1.146 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008638/1.287, allocations: 419.4 kB / 1.146 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/1.307, allocations: 7.126 MB / 1.153 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06162/1.368, allocations: 41.01 MB / 1.193 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004948/1.373, allocations: 3.101 MB / 1.196 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/1.376, allocations: 2.136 MB / 1.198 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/1.377, allocations: 25.94 kB / 1.198 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/1.377, allocations: 67.09 kB / 1.198 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=209): time 4.719e-06/1.377, allocations: 0 / 1.198 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=212): time 0.02672/1.403, allocations: 10.56 MB / 1.209 GB, free: 12.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.404, allocations: 77.34 kB / 1.209 GB, free: 12.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.407, allocations: 2.005 MB / 1.211 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/1.408, allocations: 69.7 kB / 1.211 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.41, allocations: 2.393 MB / 1.213 GB, free: 8.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009171/1.41, allocations: 0.7381 MB / 1.214 GB, free: 7.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.412, allocations: 481.1 kB / 1.214 GB, free: 6.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.412, allocations: 305.1 kB / 1.215 GB, free: 6.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.414, allocations: 1.372 MB / 1.216 GB, free: 5.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/1.417, allocations: 2.106 MB / 1.218 GB, free: 2.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005705/1.423, allocations: 3.769 MB / 1.222 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/1.423, allocations: 4 kB / 1.222 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0091/1.432, allocations: 5.065 MB / 1.227 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/1.432, allocations: 16 kB / 1.227 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/1.432, allocations: 20 kB / 1.227 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.436, allocations: 1.594 MB / 1.228 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.438, allocations: 455.2 kB / 1.229 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/1.462, allocations: 18.57 MB / 1.247 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.465, allocations: 147.9 kB / 1.247 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/1.465, allocations: 112 kB / 1.247 GB, free: 4.473 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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.00455/1.47, allocations: 1.937 MB / 1.249 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/1.471, allocations: 288.6 kB / 1.249 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/1.478, allocations: 4.45 MB / 1.254 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.478, allocations: 24 kB / 1.254 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/1.478, allocations: 16 kB / 1.254 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.478, allocations: 7.969 kB / 1.254 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.497, allocations: 9.676 MB / 1.263 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.497, allocations: 4.562 kB / 1.263 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.499, allocations: 239.6 kB / 1.263 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/1.502, allocations: 1.423 MB / 1.265 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/1.502, allocations: 40 kB / 1.265 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/1.525, allocations: 18.56 MB / 1.283 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.525, allocations: 10.44 kB / 1.283 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/1.533, allocations: 4.548 MB / 1.287 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.536, allocations: 0.6265 MB / 1.288 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/1.537, allocations: 44 kB / 1.288 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.538, allocations: 115.9 kB / 1.288 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000619/1.539, allocations: 177.6 kB / 1.288 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.539, allocations: 60.25 kB / 1.288 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002195/1.541, allocations: 1.315 MB / 1.29 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.541, allocations: 0 / 1.29 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004793/1.546, allocations: 1.141 MB / 1.291 GB, free: 6.953 MB / 0.9981 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.0004871/1.547, allocations: 167 kB / 1.291 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008009/1.555, allocations: 4.72 MB / 1.295 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.555, allocations: 8.062 kB / 1.295 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.56, allocations: 2.92 MB / 1.298 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/1.564, allocations: 0.8824 MB / 1.299 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.584, allocations: 9.276 MB / 1.308 GB, free: 4.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006041/1.591, allocations: 3.694 MB / 1.312 GB, free: 1.098 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002235/1.593, allocations: 0.5557 MB / 1.312 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/1.593, allocations: 147.4 kB / 1.313 GB, free: 400 kB / 1.014 GB Notification: Performance of SimCode: time 1.313e-06/1.593, allocations: 0 / 1.313 GB, free: 400 kB / 1.014 GB Notification: Performance of Templates: time 0.08683/1.68, allocations: 50.79 MB / 1.362 GB, free: 14.44 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches