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.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.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.001136/0.001136, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001238/0.001238, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.395 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.565/2.565, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8432, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009172/0.8524, allocations: 9.069 MB / 0.9633 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006707/0.8592, allocations: 3.017 MB / 0.9662 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.8603, allocations: 38.5 kB / 0.9663 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.8611, allocations: 184.5 kB / 0.9665 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.863, allocations: 0.6218 MB / 0.9671 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.8646, allocations: 0.5261 MB / 0.9676 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004366/0.869, allocations: 3.51 MB / 0.971 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004978/0.874, allocations: 2.716 MB / 0.9737 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.8768, allocations: 0.9664 MB / 0.9746 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.88, allocations: 1.438 MB / 0.976 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005919/0.8806, allocations: 113.1 kB / 0.9761 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.8821, allocations: 253.3 kB / 0.9764 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.8839, allocations: 0.9317 MB / 0.9773 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.8852, allocations: 385.3 kB / 0.9776 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.8894, allocations: 3.006 MB / 0.9806 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8894, allocations: 0 / 0.9806 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8894, allocations: 0 / 0.9806 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001075/0.8895, allocations: 0 / 0.9806 GB, free: 4.688 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.004362/0.8939, allocations: 1.781 MB / 0.9823 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.894, allocations: 8.031 kB / 0.9823 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008197/0.9022, allocations: 1.316 MB / 0.9836 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.9048, allocations: 1.219 MB / 0.9848 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.9049, allocations: 119 kB / 0.9849 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005559/0.9055, allocations: 144 kB / 0.985 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.912, allocations: 3.425 MB / 0.9884 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.9121, allocations: 11.89 kB / 0.9884 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.9124, allocations: 59.97 kB / 0.9885 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.9126, allocations: 211.1 kB / 0.9887 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.9177, allocations: 3.112 MB / 0.9917 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.9372, allocations: 13.59 MB / 1.005 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.9399, allocations: 1.733 MB / 1.007 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.942, allocations: 1.432 MB / 1.008 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.9421, allocations: 9 kB / 1.008 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.9421, allocations: 47.5 kB / 1.008 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.907e-06/0.9421, allocations: 0 / 1.008 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1237/1.066, allocations: 35.92 MB / 1.043 GB, free: 3.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.066, allocations: 73.41 kB / 1.043 GB, free: 3.227 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.068, allocations: 1.042 MB / 1.044 GB, free: 2.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/1.068, allocations: 57.7 kB / 1.044 GB, free: 2.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/1.069, allocations: 0.7873 MB / 1.045 GB, free: 1.297 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/1.07, allocations: 0.6239 MB / 1.046 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/1.07, allocations: 43.94 kB / 1.046 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.07, allocations: 381.9 kB / 1.046 GB, free: 248 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.073, allocations: 1.925 MB / 1.048 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/1.077, allocations: 2.285 MB / 1.05 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/1.08, allocations: 2.205 MB / 1.052 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/1.08, allocations: 4 kB / 1.052 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01955/1.1, allocations: 8.988 MB / 1.061 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.1, allocations: 11.95 kB / 1.061 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.1, allocations: 12 kB / 1.061 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.116, allocations: 4.968 MB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.117, allocations: 191.6 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05814/1.175, allocations: 35.09 MB / 1.1 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.177, allocations: 99.89 kB / 1.101 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/1.178, allocations: 64 kB / 1.101 GB, free: 7.68 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001811/1.179, allocations: 0.8095 MB / 1.101 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/1.18, allocations: 138.4 kB / 1.102 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/1.201, allocations: 8.863 MB / 1.11 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.201, allocations: 19.98 kB / 1.11 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/1.201, allocations: 32 kB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/1.201, allocations: 7.969 kB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/1.23, allocations: 13.24 MB / 1.123 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/1.23, allocations: 4 kB / 1.123 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/1.231, allocations: 119.8 kB / 1.123 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/1.247, allocations: 4.75 MB / 1.128 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000497/1.247, allocations: 35.95 kB / 1.128 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05279/1.3, allocations: 31.42 MB / 1.159 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.3, allocations: 4 kB / 1.159 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.32, allocations: 8.369 MB / 1.167 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.322, allocations: 0.6202 MB / 1.167 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/1.322, allocations: 36 kB / 1.167 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.324, allocations: 99.81 kB / 1.168 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/1.325, allocations: 161.7 kB / 1.168 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/1.325, allocations: 44 kB / 1.168 GB, free: 2.035 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001475/1.327, allocations: 0.7304 MB / 1.168 GB, free: 1.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/1.327, allocations: 4 kB / 1.169 GB, free: 1.289 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004485/1.331, allocations: 1.004 MB / 1.169 GB, free: 292 kB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000466/1.332, allocations: 152.2 kB / 1.17 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.343, allocations: 5.822 MB / 1.175 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.343, allocations: 0 / 1.175 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008252/1.351, allocations: 3.799 MB / 1.179 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.353, allocations: 225.6 kB / 1.179 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.363, allocations: 5.615 MB / 1.185 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/1.366, allocations: 1.856 MB / 1.187 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001066/1.367, allocations: 351.4 kB / 1.187 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.367, allocations: 63.44 kB / 1.187 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of SimCode: time 1.863e-06/1.367, allocations: 0 / 1.187 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of Templates: time 0.08468/1.452, allocations: 54.42 MB / 1.24 GB, free: 7.906 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