Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006135/0.006135, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001704/0.001704, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9321/0.9339, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01133/0.9453, allocations: 10.09 MB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005486/0.9508, allocations: 3.181 MB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.9517, allocations: 35.81 kB / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.9534, allocations: 0.5985 MB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.955, allocations: 0.7427 MB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.9566, allocations: 0.7397 MB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002983/0.9596, allocations: 2.996 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.9622, allocations: 2.59 MB / 1.228 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.9639, allocations: 1.258 MB / 1.229 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.9657, allocations: 1.566 MB / 1.231 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.9661, allocations: 232 kB / 1.231 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.9671, allocations: 0.5032 MB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009101/0.968, allocations: 1.064 MB / 1.233 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009791/0.969, allocations: 1.116 MB / 1.234 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.9722, allocations: 3.679 MB / 1.237 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9723, allocations: 4 kB / 1.237 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9723, allocations: 4 kB / 1.237 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.687e-05/0.9723, allocations: 0 / 1.237 GB, free: 15.07 MB / 0.9669 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.003929/0.9763, allocations: 2.142 MB / 1.24 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.9763, allocations: 16.02 kB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00865/0.985, allocations: 1.309 MB / 1.241 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.9875, allocations: 1.298 MB / 1.242 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.9876, allocations: 115.3 kB / 1.242 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.9879, allocations: 148.3 kB / 1.242 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.9931, allocations: 3.437 MB / 1.246 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.9932, allocations: 7.938 kB / 1.246 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.9934, allocations: 63.97 kB / 1.246 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/0.9937, allocations: 207.1 kB / 1.246 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004952/0.9986, allocations: 3.12 MB / 1.249 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/1.015, allocations: 13.56 MB / 1.262 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/1.017, allocations: 1.724 MB / 1.264 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/1.019, allocations: 1.448 MB / 1.265 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/1.019, allocations: 16.88 kB / 1.265 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.019, allocations: 47.56 kB / 1.265 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/1.019, allocations: 4 kB / 1.265 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1473/1.167, allocations: 36.67 MB / 1.301 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/1.167, allocations: 73.41 kB / 1.301 GB, free: 12.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.168, allocations: 1.061 MB / 1.302 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/1.169, allocations: 53.7 kB / 1.302 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/1.169, allocations: 0.7834 MB / 1.303 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/1.17, allocations: 0.6238 MB / 1.304 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008836/1.171, allocations: 359.4 kB / 1.304 GB, free: 9.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/1.171, allocations: 301.1 kB / 1.304 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/1.174, allocations: 1.932 MB / 1.306 GB, free: 7.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/1.177, allocations: 2.281 MB / 1.308 GB, free: 4.848 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005701/1.182, allocations: 4.394 MB / 1.313 GB, free: 336 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.182, allocations: 4 kB / 1.313 GB, free: 332 kB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01955/1.202, allocations: 9.023 MB / 1.322 GB, free: 7.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/1.202, allocations: 11.94 kB / 1.322 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/1.202, allocations: 11.94 kB / 1.322 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/1.219, allocations: 4.973 MB / 1.326 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/1.219, allocations: 195.7 kB / 1.327 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05962/1.279, allocations: 38.9 MB / 1.365 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.281, allocations: 103.9 kB / 1.365 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.282, allocations: 64 kB / 1.365 GB, free: 10.43 MB / 1.092 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.001748/1.284, allocations: 0.81 MB / 1.366 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/1.284, allocations: 142.3 kB / 1.366 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/1.305, allocations: 8.89 MB / 1.374 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/1.305, allocations: 16 kB / 1.374 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.998e-05/1.305, allocations: 32 kB / 1.374 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/1.305, allocations: 7.969 kB / 1.374 GB, free: 496 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/1.332, allocations: 13.39 MB / 1.388 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.332, allocations: 0 / 1.388 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/1.333, allocations: 128.2 kB / 1.388 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01794/1.351, allocations: 4.836 MB / 1.392 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007193/1.352, allocations: 36 kB / 1.392 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.058/1.41, allocations: 36.83 MB / 1.428 GB, free: 8.504 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.41, allocations: 4 kB / 1.428 GB, free: 8.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.43, allocations: 8.6 MB / 1.437 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.431, allocations: 0.632 MB / 1.437 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/1.432, allocations: 51.83 kB / 1.437 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.433, allocations: 95.89 kB / 1.438 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.434, allocations: 161.6 kB / 1.438 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.435, allocations: 44 kB / 1.438 GB, free: 14.81 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001269/1.436, allocations: 0.7382 MB / 1.438 GB, free: 14.06 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.436, allocations: 0 / 1.438 GB, free: 14.06 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003901/1.44, allocations: 1.012 MB / 1.439 GB, free: 13.05 MB / 1.17 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.0004271/1.44, allocations: 143.1 kB / 1.44 GB, free: 12.9 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.451, allocations: 5.931 MB / 1.445 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.451, allocations: 0 / 1.445 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008208/1.459, allocations: 3.936 MB / 1.449 GB, free: 2.922 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.461, allocations: 234.2 kB / 1.449 GB, free: 2.695 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009729/1.471, allocations: 5.079 MB / 1.454 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/1.473, allocations: 1.855 MB / 1.456 GB, free: 11.67 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000942/1.474, allocations: 355.4 kB / 1.457 GB, free: 11.32 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.474, allocations: 67.42 kB / 1.457 GB, free: 11.25 MB / 1.186 GB Notification: Performance of SimCode: time 4.71e-07/1.474, allocations: 0 / 1.457 GB, free: 11.25 MB / 1.186 GB Notification: Performance of Templates: time 0.08978/1.564, allocations: 61.2 MB / 1.516 GB, free: 14.19 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches