Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001147/0.001147, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.002475/0.002475, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.495/2.495, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03213/1.131, allocations: 26.65 MB / 1.193 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01471/1.145, allocations: 8.086 MB / 1.201 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/1.148, allocations: 115.4 kB / 1.201 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007258/1.156, allocations: 2.77 MB / 1.204 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005263/1.161, allocations: 1.668 MB / 1.206 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/1.166, allocations: 1.677 MB / 1.207 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00815/1.174, allocations: 6.162 MB / 1.213 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/1.187, allocations: 7.304 MB / 1.22 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006494/1.194, allocations: 2.621 MB / 1.223 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/1.2, allocations: 2.827 MB / 1.226 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001698/1.201, allocations: 0.5078 MB / 1.226 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/1.206, allocations: 1.291 MB / 1.228 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003448/1.209, allocations: 2.047 MB / 1.23 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.005612/1.215, allocations: 2.381 MB / 1.232 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.225, allocations: 8.053 MB / 1.24 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.225, allocations: 4 kB / 1.24 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.983e-06/1.225, allocations: 0 / 1.24 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001933/1.225, allocations: 0 / 1.24 GB, free: 9.363 MB / 0.9669 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.009159/1.234, allocations: 4.228 MB / 1.244 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 9.312e-05/1.234, allocations: 12.86 kB / 1.244 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/1.239, allocations: 0.8039 MB / 1.245 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/1.244, allocations: 2.569 MB / 1.247 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/1.244, allocations: 271.7 kB / 1.247 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/1.245, allocations: 380.5 kB / 1.248 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.256, allocations: 5.996 MB / 1.254 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/1.256, allocations: 27.77 kB / 1.254 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/1.256, allocations: 152 kB / 1.254 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006495/1.257, allocations: 286.9 kB / 1.254 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/1.265, allocations: 4.524 MB / 1.259 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/1.296, allocations: 27.46 MB / 1.285 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.298, allocations: 1.123 MB / 1.286 GB, free: 6.656 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/1.299, allocations: 1.021 MB / 1.287 GB, free: 5.637 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/1.299, allocations: 13 kB / 1.287 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.299, allocations: 47.56 kB / 1.287 GB, free: 5.566 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.978e-06/1.299, allocations: 4 kB / 1.287 GB, free: 5.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.02221/1.321, allocations: 9.653 MB / 1.297 GB, free: 11.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.322, allocations: 68.66 kB / 1.297 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.324, allocations: 1.502 MB / 1.298 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.324, allocations: 53.7 kB / 1.298 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.326, allocations: 1.663 MB / 1.3 GB, free: 8.367 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/1.326, allocations: 469.3 kB / 1.301 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/1.327, allocations: 335.1 kB / 1.301 GB, free: 7.566 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.327, allocations: 305.1 kB / 1.301 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.328, allocations: 0.9135 MB / 1.302 GB, free: 6.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/1.33, allocations: 1.463 MB / 1.303 GB, free: 4.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/1.333, allocations: 2.546 MB / 1.306 GB, free: 1.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.333, allocations: 4 kB / 1.306 GB, free: 1.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005843/1.339, allocations: 3.286 MB / 1.309 GB, free: 14.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.339, allocations: 15.94 kB / 1.309 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/1.339, allocations: 19.98 kB / 1.309 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/1.341, allocations: 0.7336 MB / 1.31 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.343, allocations: 387.4 kB / 1.31 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/1.364, allocations: 17.04 MB / 1.327 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.367, allocations: 99.91 kB / 1.327 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/1.367, allocations: 72 kB / 1.327 GB, free: 10.89 MB / 1.061 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.003258/1.371, allocations: 1.321 MB / 1.328 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006777/1.371, allocations: 205.5 kB / 1.329 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/1.377, allocations: 2.78 MB / 1.331 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.377, allocations: 11.97 kB / 1.331 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.377, allocations: 0 / 1.331 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.378, allocations: 454.4 kB / 1.332 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005542/1.379, allocations: 35.92 kB / 1.332 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.38, allocations: 71.91 kB / 1.332 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/1.38, allocations: 109.1 kB / 1.332 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006743/1.387, allocations: 2.987 MB / 1.335 GB, free: 2.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004607/1.392, allocations: 3.246 MB / 1.338 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/1.393, allocations: 0.9587 MB / 1.339 GB, free: 14.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002586/1.396, allocations: 1.002 MB / 1.34 GB, free: 13.61 MB / 1.076 GB Notification: Performance of Backend: time 1.122e-06/1.396, allocations: 0 / 1.34 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008785/1.405, allocations: 3.247 MB / 1.343 GB, free: 10.23 MB / 1.076 GB Notification: Performance of SimCode: time 0.01539/1.42, allocations: 7.072 MB / 1.35 GB, free: 3.133 MB / 1.076 GB Notification: Performance of Templates: time 0.07307/1.493, allocations: 40.46 MB / 1.39 GB, free: 11.16 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches