Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001988/0.001988, allocations: 189.7 kB / 17.35 MB, free: 5.695 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 / 241 MB, free: 15.13 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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8255, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01207/0.8377, allocations: 10.09 MB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006461/0.8442, allocations: 3.174 MB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.8451, allocations: 33.16 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.8469, allocations: 0.6182 MB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.8489, allocations: 0.7343 MB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.851, allocations: 0.7382 MB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004717/0.8558, allocations: 2.991 MB / 1.107 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003571/0.8593, allocations: 2.587 MB / 1.109 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.8621, allocations: 1.26 MB / 1.11 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.8649, allocations: 1.561 MB / 1.112 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/0.8654, allocations: 235.8 kB / 1.112 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.8668, allocations: 0.4914 MB / 1.113 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.8682, allocations: 1.07 MB / 1.114 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.8698, allocations: 1.118 MB / 1.115 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005805/0.8756, allocations: 3.683 MB / 1.118 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8757, allocations: 0 / 1.118 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8757, allocations: 4 kB / 1.118 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001084/0.8758, allocations: 1.156 kB / 1.118 GB, free: 5.5 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006378/0.8822, allocations: 2.142 MB / 1.12 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8822, allocations: 9.531 kB / 1.12 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00897/0.8912, allocations: 1.318 MB / 1.122 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.895, allocations: 1.299 MB / 1.123 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.8951, allocations: 116.4 kB / 1.123 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006989/0.8958, allocations: 157.6 kB / 1.123 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00705/0.9029, allocations: 3.44 MB / 1.127 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.903, allocations: 1.281 kB / 1.127 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.9032, allocations: 67.62 kB / 1.127 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/0.9036, allocations: 208.8 kB / 1.127 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.9093, allocations: 3.125 MB / 1.13 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.932, allocations: 13.54 MB / 1.143 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.9352, allocations: 1.732 MB / 1.145 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.9375, allocations: 1.442 MB / 1.146 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.9376, allocations: 11.19 kB / 1.146 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.9376, allocations: 51.53 kB / 1.146 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.9376, allocations: 1.188 kB / 1.146 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.142/1.08, allocations: 36.69 MB / 1.182 GB, free: 13.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/1.08, allocations: 69.41 kB / 1.182 GB, free: 13.19 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.082, allocations: 1.05 MB / 1.183 GB, free: 12.11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004928/1.082, allocations: 57.7 kB / 1.183 GB, free: 12.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/1.083, allocations: 0.7873 MB / 1.184 GB, free: 11.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.084, allocations: 0.6238 MB / 1.185 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/1.085, allocations: 363.4 kB / 1.185 GB, free: 10.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.085, allocations: 301.1 kB / 1.185 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/1.088, allocations: 1.928 MB / 1.187 GB, free: 8.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/1.092, allocations: 2.289 MB / 1.189 GB, free: 5.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/1.098, allocations: 4.388 MB / 1.194 GB, free: 1.102 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.098, allocations: 4 kB / 1.194 GB, free: 1.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02116/1.119, allocations: 9.025 MB / 1.202 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.119, allocations: 11.94 kB / 1.202 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.119, allocations: 12 kB / 1.203 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01739/1.137, allocations: 4.97 MB / 1.207 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/1.138, allocations: 191.7 kB / 1.208 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06183/1.2, allocations: 38.9 MB / 1.246 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.202, allocations: 99.89 kB / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/1.203, allocations: 71.98 kB / 1.246 GB, free: 11.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00221/1.205, allocations: 0.8063 MB / 1.246 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000713/1.206, allocations: 134.4 kB / 1.247 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/1.227, allocations: 8.898 MB / 1.255 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.227, allocations: 16 kB / 1.255 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.971e-05/1.227, allocations: 28 kB / 1.255 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/1.227, allocations: 7.969 kB / 1.255 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02965/1.257, allocations: 13.41 MB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/1.257, allocations: 4 kB / 1.268 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/1.258, allocations: 119.8 kB / 1.269 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/1.275, allocations: 4.845 MB / 1.273 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005821/1.276, allocations: 36 kB / 1.273 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05783/1.334, allocations: 36.81 MB / 1.309 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.334, allocations: 7.938 kB / 1.309 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02181/1.356, allocations: 8.588 MB / 1.318 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.358, allocations: 0.6321 MB / 1.318 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009323/1.359, allocations: 39.94 kB / 1.318 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.361, allocations: 91.88 kB / 1.318 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/1.362, allocations: 165.7 kB / 1.319 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/1.363, allocations: 44 kB / 1.319 GB, free: 15.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001535/1.364, allocations: 0.7382 MB / 1.319 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.605e-06/1.364, allocations: 0 / 1.319 GB, free: 14.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005979/1.37, allocations: 1.012 MB / 1.32 GB, free: 13.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007577/1.371, allocations: 143.1 kB / 1.32 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.384, allocations: 5.955 MB / 1.326 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.384, allocations: 0 / 1.326 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.009169/1.393, allocations: 3.944 MB / 1.33 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.396, allocations: 250.7 kB / 1.33 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.41, allocations: 5.358 MB / 1.336 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.413, allocations: 1.886 MB / 1.337 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.413, allocations: 71.42 kB / 1.338 GB, free: 12.05 MB / 1.076 GB Notification: Performance of SimCode: time 1.904e-06/1.413, allocations: 4 kB / 1.338 GB, free: 12.05 MB / 1.076 GB Notification: Performance of Templates: time 0.09947/1.513, allocations: 69.41 MB / 1.405 GB, free: 6.594 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches