Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008095/0.008095, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001547/0.001548, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01321/0.3432, allocations: 10.08 MB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.3492, allocations: 3.178 MB / 1.18 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.3502, allocations: 35.81 kB / 1.18 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.3521, allocations: 0.5945 MB / 1.18 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.354, allocations: 0.7779 MB / 1.181 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3557, allocations: 0.7446 MB / 1.182 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.3593, allocations: 2.996 MB / 1.185 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.3627, allocations: 2.602 MB / 1.187 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.365, allocations: 1.262 MB / 1.188 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.3678, allocations: 1.55 MB / 1.19 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007248/0.3685, allocations: 236 kB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3703, allocations: 0.4993 MB / 1.191 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.3722, allocations: 1.072 MB / 1.192 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.3749, allocations: 1.116 MB / 1.193 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004785/0.3797, allocations: 3.699 MB / 1.196 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3798, allocations: 0 / 1.196 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3798, allocations: 0 / 1.196 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.144e-05/0.3799, allocations: 0 / 1.196 GB, free: 8.211 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004915/0.3848, allocations: 2.187 MB / 1.198 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3849, allocations: 12.03 kB / 1.199 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009039/0.3939, allocations: 1.322 MB / 1.2 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.3977, allocations: 1.314 MB / 1.201 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3978, allocations: 111.4 kB / 1.201 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/0.3983, allocations: 152.3 kB / 1.201 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/0.4044, allocations: 3.437 MB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.4044, allocations: 3.938 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.4047, allocations: 67.95 kB / 1.205 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/0.405, allocations: 207.1 kB / 1.205 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005006/0.41, allocations: 3.128 MB / 1.208 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.4298, allocations: 13.57 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.4323, allocations: 1.72 MB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.4343, allocations: 1.448 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.4344, allocations: 9 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.4345, allocations: 43.56 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.046e-06/0.4345, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.8378/1.272, allocations: 36.72 MB / 1.26 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.272, allocations: 71.8 kB / 1.26 GB, free: 77.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/1.275, allocations: 1.05 MB / 1.261 GB, free: 77.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004471/1.275, allocations: 55.36 kB / 1.261 GB, free: 77.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/1.276, allocations: 0.8129 MB / 1.262 GB, free: 76.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00066/1.276, allocations: 0.6521 MB / 1.263 GB, free: 76.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/1.277, allocations: 364.9 kB / 1.263 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/1.277, allocations: 305.8 kB / 1.263 GB, free: 75.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/1.28, allocations: 1.929 MB / 1.265 GB, free: 75.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.284, allocations: 2.282 MB / 1.268 GB, free: 74.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007095/1.291, allocations: 4.398 MB / 1.272 GB, free: 72.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.291, allocations: 2.656 kB / 1.272 GB, free: 72.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02271/1.313, allocations: 9.025 MB / 1.281 GB, free: 69.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/1.314, allocations: 12.84 kB / 1.281 GB, free: 69.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/1.314, allocations: 8.719 kB / 1.281 GB, free: 69.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01923/1.333, allocations: 4.976 MB / 1.286 GB, free: 68.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.334, allocations: 190.7 kB / 1.286 GB, free: 68.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05567/1.39, allocations: 38.93 MB / 1.324 GB, free: 44.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/1.393, allocations: 99.89 kB / 1.324 GB, free: 44.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007721/1.393, allocations: 64 kB / 1.324 GB, free: 43.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002181/1.396, allocations: 0.8101 MB / 1.325 GB, free: 43.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007489/1.396, allocations: 153.7 kB / 1.325 GB, free: 43.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/1.414, allocations: 8.89 MB / 1.334 GB, free: 34.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.415, allocations: 16 kB / 1.334 GB, free: 34.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/1.415, allocations: 28.88 kB / 1.334 GB, free: 34.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.415, allocations: 15.91 kB / 1.334 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/1.44, allocations: 13.4 MB / 1.347 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/1.44, allocations: 4 kB / 1.347 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/1.44, allocations: 121.6 kB / 1.347 GB, free: 20.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/1.456, allocations: 4.84 MB / 1.352 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.456, allocations: 32 kB / 1.352 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05271/1.509, allocations: 36.86 MB / 1.388 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.509, allocations: 8 kB / 1.388 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/1.529, allocations: 8.602 MB / 1.396 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.531, allocations: 0.6444 MB / 1.397 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.532, allocations: 32 kB / 1.397 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.534, allocations: 87.89 kB / 1.397 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009451/1.535, allocations: 173.6 kB / 1.397 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.535, allocations: 48 kB / 1.397 GB, free: 428 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001266/1.536, allocations: 0.7343 MB / 1.398 GB, free: 15.67 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.536, allocations: 0 / 1.398 GB, free: 15.67 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005658/1.542, allocations: 1.004 MB / 1.399 GB, free: 14.66 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005552/1.542, allocations: 143.1 kB / 1.399 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0164/1.559, allocations: 5.948 MB / 1.405 GB, free: 8.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.559, allocations: 4.188 kB / 1.405 GB, free: 8.516 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01278/1.572, allocations: 3.945 MB / 1.408 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.575, allocations: 247.8 kB / 1.409 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.59, allocations: 5.146 MB / 1.414 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/1.593, allocations: 1.863 MB / 1.416 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001606/1.595, allocations: 357.6 kB / 1.416 GB, free: 12.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.595, allocations: 63.44 kB / 1.416 GB, free: 12.79 MB / 1.061 GB Notification: Performance of SimCode: time 1.673e-06/1.595, allocations: 0 / 1.416 GB, free: 12.79 MB / 1.061 GB Notification: Performance of Templates: time 0.1121/1.707, allocations: 61.22 MB / 1.476 GB, free: 15.71 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches