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.001753/0.001753, allocations: 108 kB / 15.6 MB, free: 132 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.002119/0.002119, allocations: 193.7 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.398 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.55/2.55, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6999, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01201/0.712, allocations: 10.09 MB / 0.9594 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006265/0.7183, allocations: 3.176 MB / 0.9625 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7196, allocations: 38.06 kB / 0.9626 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.7216, allocations: 0.5972 MB / 0.9632 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.7241, allocations: 0.7367 MB / 0.9639 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.7263, allocations: 0.7461 MB / 0.9646 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004912/0.7312, allocations: 2.993 MB / 0.9675 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.7358, allocations: 2.613 MB / 0.9701 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.7389, allocations: 1.246 MB / 0.9713 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/0.7424, allocations: 1.564 MB / 0.9728 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.7435, allocations: 235.2 kB / 0.973 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.746, allocations: 0.4999 MB / 0.9735 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002286/0.7483, allocations: 1.07 MB / 0.9746 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003066/0.7514, allocations: 1.112 MB / 0.9757 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.7566, allocations: 3.658 MB / 0.9792 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.7566, allocations: 7.938 kB / 0.9792 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7566, allocations: 0 / 0.9792 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001107/0.7568, allocations: 0 / 0.9792 GB, free: 3.434 MB / 0.7325 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.005425/0.7622, allocations: 2.142 MB / 0.9813 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7623, allocations: 12.03 kB / 0.9814 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009469/0.7717, allocations: 1.309 MB / 0.9826 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.7752, allocations: 1.263 MB / 0.9839 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.7754, allocations: 115.3 kB / 0.984 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.7759, allocations: 152.3 kB / 0.9841 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006138/0.782, allocations: 3.433 MB / 0.9875 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.7821, allocations: 4 kB / 0.9875 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.7823, allocations: 67.97 kB / 0.9875 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002796/0.7826, allocations: 199.1 kB / 0.9877 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005582/0.7882, allocations: 3.131 MB / 0.9908 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.808, allocations: 13.63 MB / 1.004 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.8106, allocations: 1.72 MB / 1.006 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.8127, allocations: 1.444 MB / 1.007 GB, free: 5.719 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.352e-05/0.8129, allocations: 13 kB / 1.007 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.8129, allocations: 43.56 kB / 1.007 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 4.468e-06/0.8129, allocations: 0 / 1.007 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1602/0.9731, allocations: 36.67 MB / 1.043 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.9733, allocations: 73.41 kB / 1.043 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.975, allocations: 1.046 MB / 1.044 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003509/0.9754, allocations: 57.64 kB / 1.044 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/0.9761, allocations: 0.7911 MB / 1.045 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009695/0.9771, allocations: 0.6239 MB / 1.046 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008021/0.9779, allocations: 367.3 kB / 1.046 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.978, allocations: 305.1 kB / 1.046 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.9811, allocations: 1.928 MB / 1.048 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/0.9841, allocations: 2.281 MB / 1.05 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.9905, allocations: 4.39 MB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9905, allocations: 4 kB / 1.055 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02164/1.012, allocations: 9.021 MB / 1.063 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.012, allocations: 11.94 kB / 1.063 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.012, allocations: 16.03 kB / 1.063 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.03, allocations: 5.002 MB / 1.068 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/1.031, allocations: 195.6 kB / 1.069 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06135/1.093, allocations: 38.91 MB / 1.107 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/1.095, allocations: 99.89 kB / 1.107 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.095, allocations: 75.98 kB / 1.107 GB, free: 14.72 MB / 0.8731 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.001424/1.096, allocations: 0.8063 MB / 1.107 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/1.097, allocations: 138.3 kB / 1.108 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/1.117, allocations: 8.886 MB / 1.116 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/1.117, allocations: 20 kB / 1.116 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001248/1.117, allocations: 28 kB / 1.116 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.018e-05/1.117, allocations: 11.95 kB / 1.116 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.146, allocations: 13.32 MB / 1.129 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.146, allocations: 0 / 1.129 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/1.146, allocations: 119.9 kB / 1.129 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01661/1.163, allocations: 4.79 MB / 1.134 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003246/1.163, allocations: 39.98 kB / 1.134 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05229/1.216, allocations: 34.85 MB / 1.168 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.216, allocations: 7.938 kB / 1.168 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/1.235, allocations: 8.404 MB / 1.176 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.237, allocations: 0.6085 MB / 1.177 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.237, allocations: 43.88 kB / 1.177 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.238, allocations: 91.89 kB / 1.177 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000918/1.239, allocations: 165.6 kB / 1.177 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.24, allocations: 44 kB / 1.177 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001055/1.241, allocations: 0.7382 MB / 1.178 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.241, allocations: 3.938 kB / 1.178 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0033/1.244, allocations: 1.008 MB / 1.179 GB, free: 3.68 MB / 0.9356 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/1.244, allocations: 143.1 kB / 1.179 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.256, allocations: 6.701 MB / 1.186 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/1.256, allocations: 0 / 1.186 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008217/1.264, allocations: 3.832 MB / 1.189 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.265, allocations: 240.3 kB / 1.19 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/1.274, allocations: 4.985 MB / 1.195 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.276, allocations: 1.855 MB / 1.196 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008772/1.277, allocations: 355.4 kB / 1.197 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.277, allocations: 59.44 kB / 1.197 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/1.277, allocations: 0 / 1.197 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of Templates: time 0.6091/1.886, allocations: 59.13 MB / 1.255 GB, free: 264.5 MB / 0.9981 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/jenkins/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