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.001728/0.001729, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00225/0.002249, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.415/2.415, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.786, allocations: 140.4 MB / 0.9489 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03756/0.8236, allocations: 34.53 MB / 0.9826 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.8446, allocations: 11.5 MB / 0.9939 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005436/0.8501, allocations: 143.2 kB / 0.994 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.8616, allocations: 3.986 MB / 0.9979 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.8696, allocations: 1.867 MB / 0.9997 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007997/0.8777, allocations: 2.178 MB / 1.002 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.8925, allocations: 12.41 MB / 1.014 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02234/0.9149, allocations: 12.33 MB / 1.026 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.9219, allocations: 3.188 MB / 1.029 GB, free: 15.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007747/0.9297, allocations: 4.272 MB / 1.033 GB, free: 11.45 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.9324, allocations: 0.543 MB / 1.034 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/0.9387, allocations: 2.122 MB / 1.036 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.006996/0.9458, allocations: 2.822 MB / 1.039 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.9561, allocations: 3.135 MB / 1.042 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02184/0.978, allocations: 11.83 MB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.9781, allocations: 0 / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9781, allocations: 0 / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0005056/0.9786, allocations: 0 / 1.053 GB, free: 6.938 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.02251/1.001, allocations: 5.795 MB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.001, allocations: 8.031 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/1.009, allocations: 1.06 MB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00711/1.016, allocations: 3.259 MB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/1.016, allocations: 419.5 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/1.019, allocations: 0.5354 MB / 1.064 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.04, allocations: 9.075 MB / 1.073 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003509/1.041, allocations: 35.61 kB / 1.073 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/1.043, allocations: 240 kB / 1.073 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004474/1.043, allocations: 346.8 kB / 1.074 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/1.058, allocations: 6.83 MB / 1.08 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04934/1.108, allocations: 40.11 MB / 1.119 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/1.112, allocations: 3.117 MB / 1.122 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/1.115, allocations: 1.97 MB / 1.124 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/1.115, allocations: 22 kB / 1.124 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/1.115, allocations: 52.56 kB / 1.124 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 3.657e-06/1.115, allocations: 0 / 1.124 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02675/1.142, allocations: 9.974 MB / 1.134 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.142, allocations: 69.41 kB / 1.134 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.145, allocations: 1.53 MB / 1.136 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/1.145, allocations: 49.7 kB / 1.136 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.147, allocations: 2.253 MB / 1.138 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007843/1.148, allocations: 0.6316 MB / 1.139 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/1.148, allocations: 407.9 kB / 1.139 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/1.149, allocations: 305.1 kB / 1.139 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.15, allocations: 1.176 MB / 1.14 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/1.153, allocations: 1.893 MB / 1.142 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/1.157, allocations: 3.364 MB / 1.146 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/1.157, allocations: 4 kB / 1.146 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008605/1.166, allocations: 4.585 MB / 1.15 GB, free: 14.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/1.166, allocations: 19.98 kB / 1.15 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/1.166, allocations: 24 kB / 1.15 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/1.17, allocations: 1.577 MB / 1.152 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.172, allocations: 351.4 kB / 1.152 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/1.195, allocations: 17.03 MB / 1.169 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.197, allocations: 115.9 kB / 1.169 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/1.198, allocations: 96 kB / 1.169 GB, free: 10.91 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.003961/1.202, allocations: 1.894 MB / 1.171 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/1.203, allocations: 221.4 kB / 1.171 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00858/1.211, allocations: 4.094 MB / 1.175 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.211, allocations: 20 kB / 1.175 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-05/1.211, allocations: 23.98 kB / 1.175 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/1.211, allocations: 7.969 kB / 1.175 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/1.232, allocations: 9.474 MB / 1.184 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.232, allocations: 4 kB / 1.184 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/1.233, allocations: 179.7 kB / 1.184 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003801/1.236, allocations: 1.362 MB / 1.186 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/1.237, allocations: 32 kB / 1.186 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.259, allocations: 15.94 MB / 1.201 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.259, allocations: 11.94 kB / 1.201 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/1.267, allocations: 4.061 MB / 1.205 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.268, allocations: 0.5333 MB / 1.206 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/1.269, allocations: 35.98 kB / 1.206 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.271, allocations: 87.84 kB / 1.206 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006105/1.271, allocations: 165.6 kB / 1.206 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.271, allocations: 48 kB / 1.206 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002053/1.273, allocations: 1.001 MB / 1.207 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.273, allocations: 0 / 1.207 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00423/1.278, allocations: 0.9883 MB / 1.208 GB, free: 1.785 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.0003769/1.278, allocations: 151 kB / 1.208 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.286, allocations: 4.281 MB / 1.212 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.286, allocations: 4 kB / 1.212 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/1.291, allocations: 2.666 MB / 1.215 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.296, allocations: 0.715 MB / 1.216 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.319, allocations: 11.01 MB / 1.226 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006526/1.326, allocations: 3.573 MB / 1.23 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001905/1.328, allocations: 467.9 kB / 1.23 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/1.328, allocations: 115.4 kB / 1.23 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of SimCode: time 1.333e-06/1.328, allocations: 0 / 1.23 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.7008/2.029, allocations: 42.68 MB / 1.272 GB, free: 266.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