Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_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_9_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_9_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.001414/0.001414, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.7994, allocations: 140.3 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04136/0.8408, allocations: 37.61 MB / 0.9863 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.8605, allocations: 10.96 MB / 0.997 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00558/0.8662, allocations: 143.2 kB / 0.9972 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.8774, allocations: 4.064 MB / 1.001 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007888/0.8853, allocations: 2.092 MB / 1.003 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006356/0.8917, allocations: 1.973 MB / 1.005 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01465/0.9064, allocations: 13.19 MB / 1.018 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02137/0.9278, allocations: 12.45 MB / 1.03 GB, free: 15.38 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007588/0.9354, allocations: 3.402 MB / 1.033 GB, free: 11.97 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008094/0.9436, allocations: 4.596 MB / 1.038 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002998/0.9466, allocations: 0.5586 MB / 1.038 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.9522, allocations: 1.556 MB / 1.04 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005443/0.9576, allocations: 2.88 MB / 1.043 GB, free: 2.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008552/0.9662, allocations: 3.364 MB / 1.046 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.9775, allocations: 10.45 MB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.9776, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9776, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004414/0.9781, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 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.01938/0.9975, allocations: 6.315 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.9975, allocations: 8.031 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/1.004, allocations: 1.071 MB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/1.012, allocations: 3.415 MB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/1.013, allocations: 427.7 kB / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/1.015, allocations: 0.5471 MB / 1.068 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/1.041, allocations: 9.374 MB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/1.041, allocations: 19.88 kB / 1.077 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002185/1.043, allocations: 248 kB / 1.077 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007511/1.044, allocations: 426.9 kB / 1.078 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/1.062, allocations: 7.123 MB / 1.085 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05425/1.116, allocations: 41.31 MB / 1.125 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/1.121, allocations: 3.098 MB / 1.128 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/1.125, allocations: 2.136 MB / 1.13 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/1.125, allocations: 29.97 kB / 1.13 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.521e-05/1.125, allocations: 72.5 kB / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 6.843e-06/1.125, allocations: 0 / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02687/1.152, allocations: 10.54 MB / 1.14 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/1.152, allocations: 77.34 kB / 1.141 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.156, allocations: 2.009 MB / 1.142 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003454/1.157, allocations: 69.64 kB / 1.143 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.158, allocations: 2.392 MB / 1.145 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008792/1.159, allocations: 0.7279 MB / 1.146 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/1.161, allocations: 485.1 kB / 1.146 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.161, allocations: 305.1 kB / 1.146 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/1.163, allocations: 1.372 MB / 1.148 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/1.166, allocations: 2.112 MB / 1.15 GB, free: 76 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/1.172, allocations: 3.762 MB / 1.153 GB, free: 12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-05/1.172, allocations: 8 kB / 1.153 GB, free: 11.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009692/1.181, allocations: 5.065 MB / 1.158 GB, free: 6.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/1.181, allocations: 16 kB / 1.158 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/1.182, allocations: 24 kB / 1.158 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/1.186, allocations: 1.578 MB / 1.16 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/1.188, allocations: 451.3 kB / 1.16 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/1.211, allocations: 17.07 MB / 1.177 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.213, allocations: 147.9 kB / 1.177 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/1.214, allocations: 104 kB / 1.177 GB, free: 2.988 MB / 0.9356 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.003916/1.218, allocations: 1.949 MB / 1.179 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009793/1.219, allocations: 288.6 kB / 1.179 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008148/1.227, allocations: 4.451 MB / 1.184 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.227, allocations: 24 kB / 1.184 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-05/1.227, allocations: 16 kB / 1.184 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/1.227, allocations: 11.95 kB / 1.184 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.246, allocations: 9.668 MB / 1.193 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.246, allocations: 8 kB / 1.193 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.248, allocations: 231.6 kB / 1.194 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004049/1.252, allocations: 1.438 MB / 1.195 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/1.252, allocations: 40 kB / 1.195 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/1.275, allocations: 17.06 MB / 1.212 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.275, allocations: 11.92 kB / 1.212 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008265/1.283, allocations: 4.537 MB / 1.216 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.285, allocations: 0.6342 MB / 1.217 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007468/1.285, allocations: 52.19 kB / 1.217 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.287, allocations: 111.9 kB / 1.217 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/1.287, allocations: 185.6 kB / 1.217 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.288, allocations: 63.94 kB / 1.217 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00234/1.29, allocations: 1.315 MB / 1.218 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/1.29, allocations: 0 / 1.218 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004169/1.294, allocations: 1.141 MB / 1.219 GB, free: 6.922 MB / 0.9825 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.000467/1.295, allocations: 163 kB / 1.22 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008126/1.303, allocations: 4.693 MB / 1.224 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.303, allocations: 4 kB / 1.224 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.308, allocations: 2.906 MB / 1.227 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005164/1.313, allocations: 0.829 MB / 1.228 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.337, allocations: 12.55 MB / 1.24 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006481/1.343, allocations: 3.78 MB / 1.244 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/1.344, allocations: 163.4 kB / 1.244 GB, free: 13.61 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.344, allocations: 0 / 1.244 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Templates: time 0.7199/2.064, allocations: 171.8 MB / 1.412 GB, free: 140.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches