Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007685/0.007685, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.534/2.534, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.765, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03708/0.8021, allocations: 33.71 MB / 0.988 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.8246, allocations: 11.38 MB / 0.9991 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.8297, allocations: 135.2 kB / 0.9992 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.8332, allocations: 0.6977 MB / 0.9999 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.8407, allocations: 1.871 MB / 1.002 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006741/0.8474, allocations: 1.992 MB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01543/0.8629, allocations: 12.41 MB / 1.016 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02699/0.8899, allocations: 14.34 MB / 1.03 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006907/0.8969, allocations: 2.618 MB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00726/0.9042, allocations: 3.554 MB / 1.036 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/0.9065, allocations: 328 kB / 1.036 GB, free: 12.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007369/0.9139, allocations: 1.911 MB / 1.038 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005483/0.9194, allocations: 2.467 MB / 1.04 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008846/0.9283, allocations: 2.734 MB / 1.043 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01989/0.9482, allocations: 11.43 MB / 1.054 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.9483, allocations: 0 / 1.054 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.879e-06/0.9483, allocations: 4 kB / 1.054 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000749/0.9491, allocations: 0 / 1.054 GB, free: 9.414 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01692/0.966, allocations: 4.656 MB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9661, allocations: 12.03 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007554/0.9737, allocations: 1.071 MB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007962/0.9817, allocations: 3.251 MB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.9822, allocations: 419.5 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002564/0.9848, allocations: 0.543 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/1.012, allocations: 9.079 MB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003807/1.012, allocations: 27.77 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/1.015, allocations: 236 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005121/1.015, allocations: 350.8 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/1.032, allocations: 6.826 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/1.09, allocations: 40.18 MB / 1.119 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/1.094, allocations: 3.113 MB / 1.122 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/1.096, allocations: 1.947 MB / 1.124 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.723e-05/1.097, allocations: 18 kB / 1.124 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.097, allocations: 56.56 kB / 1.124 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 3.998e-06/1.097, allocations: 0 / 1.124 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02556/1.122, allocations: 10.04 MB / 1.134 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/1.122, allocations: 69.41 kB / 1.134 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.125, allocations: 1.534 MB / 1.136 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002226/1.125, allocations: 53.7 kB / 1.136 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001533/1.126, allocations: 2.246 MB / 1.138 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/1.127, allocations: 0.6354 MB / 1.139 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/1.127, allocations: 182.1 kB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.127, allocations: 309.1 kB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/1.129, allocations: 1.172 MB / 1.14 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/1.131, allocations: 1.885 MB / 1.142 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/1.136, allocations: 3.367 MB / 1.145 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.136, allocations: 8 kB / 1.145 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007953/1.144, allocations: 4.577 MB / 1.15 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/1.144, allocations: 17.55 kB / 1.15 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/1.144, allocations: 28.12 kB / 1.15 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/1.148, allocations: 1.582 MB / 1.151 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.15, allocations: 355.4 kB / 1.152 GB, free: 400 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.172, allocations: 17.06 MB / 1.168 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/1.175, allocations: 119.9 kB / 1.168 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.175, allocations: 92 kB / 1.169 GB, free: 14.58 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00436/1.179, allocations: 1.906 MB / 1.17 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005686/1.18, allocations: 221.4 kB / 1.171 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/1.187, allocations: 4.09 MB / 1.175 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.187, allocations: 16 kB / 1.175 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.99e-05/1.187, allocations: 19.98 kB / 1.175 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/1.187, allocations: 7.969 kB / 1.175 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.206, allocations: 9.466 MB / 1.184 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.206, allocations: 4 kB / 1.184 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/1.207, allocations: 183.7 kB / 1.184 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/1.211, allocations: 1.356 MB / 1.185 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/1.211, allocations: 39.98 kB / 1.185 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/1.235, allocations: 15.99 MB / 1.201 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.235, allocations: 4 kB / 1.201 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008294/1.244, allocations: 4.069 MB / 1.205 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.245, allocations: 0.5373 MB / 1.206 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.246, allocations: 32 kB / 1.206 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/1.247, allocations: 92.33 kB / 1.206 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.247, allocations: 161.7 kB / 1.206 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.247, allocations: 44 kB / 1.206 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001682/1.249, allocations: 1.008 MB / 1.207 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/1.249, allocations: 0 / 1.207 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003793/1.253, allocations: 0.9883 MB / 1.208 GB, free: 5.402 MB / 0.9669 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000335/1.253, allocations: 143 kB / 1.208 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008333/1.262, allocations: 4.308 MB / 1.212 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.262, allocations: 0 / 1.212 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006932/1.269, allocations: 2.67 MB / 1.215 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/1.276, allocations: 0.7198 MB / 1.216 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/1.304, allocations: 11.02 MB / 1.226 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005969/1.31, allocations: 3.573 MB / 1.23 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001864/1.312, allocations: 459.9 kB / 1.23 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.312, allocations: 123.4 kB / 1.23 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.312, allocations: 0 / 1.23 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.7131/2.025, allocations: 41.8 MB / 1.271 GB, free: 271.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches