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.009854/0.009854, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.002035/0.002035, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9126, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03484/0.9475, allocations: 26.65 MB / 1.114 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.9662, allocations: 8.086 MB / 1.122 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/0.9711, allocations: 118.2 kB / 1.122 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009089/0.9803, allocations: 2.757 MB / 1.125 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.9865, allocations: 1.671 MB / 1.126 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.9923, allocations: 1.675 MB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.004, allocations: 6.153 MB / 1.134 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/1.02, allocations: 7.322 MB / 1.141 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009173/1.029, allocations: 2.617 MB / 1.144 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008634/1.038, allocations: 2.837 MB / 1.146 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002933/1.041, allocations: 0.5086 MB / 1.147 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007732/1.049, allocations: 1.283 MB / 1.148 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.006469/1.055, allocations: 2.05 MB / 1.15 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009989/1.065, allocations: 2.376 MB / 1.152 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01915/1.084, allocations: 8.059 MB / 1.16 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.085, allocations: 0 / 1.16 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.324e-06/1.085, allocations: 0 / 1.16 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004612/1.085, allocations: 0 / 1.16 GB, free: 11.03 MB / 0.9044 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.01846/1.103, allocations: 4.239 MB / 1.164 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.104, allocations: 8.875 kB / 1.165 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/1.109, allocations: 0.7988 MB / 1.165 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00937/1.119, allocations: 2.57 MB / 1.168 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/1.119, allocations: 274.2 kB / 1.168 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/1.121, allocations: 381.1 kB / 1.168 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/1.135, allocations: 5.991 MB / 1.174 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/1.135, allocations: 27.03 kB / 1.174 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004961/1.136, allocations: 158.2 kB / 1.174 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006854/1.136, allocations: 285.5 kB / 1.175 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/1.148, allocations: 4.523 MB / 1.179 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/1.183, allocations: 27.45 MB / 1.206 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.185, allocations: 1.119 MB / 1.207 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/1.186, allocations: 1.019 MB / 1.208 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.949e-05/1.186, allocations: 13 kB / 1.208 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/1.186, allocations: 47.55 kB / 1.208 GB, free: 64 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.865e-06/1.186, allocations: 0 / 1.208 GB, free: 64 kB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02214/1.208, allocations: 9.664 MB / 1.218 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/1.208, allocations: 68.72 kB / 1.218 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.211, allocations: 1.498 MB / 1.219 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/1.211, allocations: 49.7 kB / 1.219 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.212, allocations: 1.671 MB / 1.221 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/1.212, allocations: 465.4 kB / 1.221 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/1.213, allocations: 327.2 kB / 1.221 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/1.213, allocations: 305.1 kB / 1.222 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.214, allocations: 0.9135 MB / 1.223 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/1.216, allocations: 1.463 MB / 1.224 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/1.219, allocations: 2.554 MB / 1.227 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.219, allocations: 4 kB / 1.227 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00598/1.225, allocations: 3.285 MB / 1.23 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.225, allocations: 15.34 kB / 1.23 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.225, allocations: 16 kB / 1.23 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/1.227, allocations: 0.7412 MB / 1.231 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.229, allocations: 387.3 kB / 1.231 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.245, allocations: 17.04 MB / 1.248 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.247, allocations: 99.91 kB / 1.248 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.247, allocations: 72 kB / 1.248 GB, free: 5.387 MB / 0.9825 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.002704/1.25, allocations: 1.317 MB / 1.249 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/1.251, allocations: 205.6 kB / 1.249 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/1.256, allocations: 2.78 MB / 1.252 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.256, allocations: 16 kB / 1.252 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.256, allocations: 4 kB / 1.252 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.256, allocations: 11.97 kB / 1.252 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.268, allocations: 6.217 MB / 1.258 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.268, allocations: 4 kB / 1.258 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.269, allocations: 235.6 kB / 1.258 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/1.272, allocations: 0.6677 MB / 1.259 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.272, allocations: 36 kB / 1.259 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/1.288, allocations: 16.78 MB / 1.275 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.288, allocations: 19.81 kB / 1.275 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/1.295, allocations: 4.001 MB / 1.279 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.296, allocations: 450.7 kB / 1.28 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/1.297, allocations: 39.92 kB / 1.28 GB, free: 2.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/1.298, allocations: 79.89 kB / 1.28 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.298, allocations: 120.7 kB / 1.28 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/1.298, allocations: 43.94 kB / 1.28 GB, free: 2.742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001456/1.3, allocations: 0.9903 MB / 1.281 GB, free: 1.762 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.3, allocations: 0 / 1.281 GB, free: 1.762 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002528/1.302, allocations: 0.6836 MB / 1.282 GB, free: 1.078 MB / 1.014 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.0002674/1.302, allocations: 158.6 kB / 1.282 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005495/1.308, allocations: 3.526 MB / 1.285 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.308, allocations: 0 / 1.285 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/1.311, allocations: 2.3 MB / 1.287 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.315, allocations: 0.6665 MB / 1.288 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.327, allocations: 6.443 MB / 1.294 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003247/1.331, allocations: 2.66 MB / 1.297 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001779/1.333, allocations: 493.4 kB / 1.297 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.333, allocations: 119.4 kB / 1.298 GB, free: 392 kB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/1.333, allocations: 0 / 1.298 GB, free: 392 kB / 1.029 GB Notification: Performance of Templates: time 0.06114/1.394, allocations: 34.14 MB / 1.331 GB, free: 14.74 MB / 1.076 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