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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001957/0.001957, allocations: 108 kB / 15.61 MB, free: 152 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.002907/0.002908, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.53 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01381/0.3759, allocations: 10.09 MB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006461/0.3824, allocations: 3.182 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3835, allocations: 39.81 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.3856, allocations: 0.5869 MB / 1.082 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.3876, allocations: 0.7388 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3893, allocations: 0.7401 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003652/0.393, allocations: 2.996 MB / 1.086 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004/0.397, allocations: 2.61 MB / 1.089 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.3993, allocations: 1.254 MB / 1.09 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.4018, allocations: 1.554 MB / 1.091 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007451/0.4026, allocations: 236 kB / 1.092 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.4042, allocations: 0.4993 MB / 1.092 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.4057, allocations: 1.072 MB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.4077, allocations: 1.124 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.412, allocations: 3.661 MB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.412, allocations: 0 / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4121, allocations: 0 / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001058/0.4122, allocations: 0 / 1.098 GB, free: 11.93 MB / 0.8575 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.005501/0.4177, allocations: 2.138 MB / 1.1 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4177, allocations: 12.03 kB / 1.1 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009758/0.4275, allocations: 1.313 MB / 1.101 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.4302, allocations: 1.255 MB / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.4304, allocations: 115.4 kB / 1.103 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007568/0.4311, allocations: 144.3 kB / 1.103 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007442/0.4386, allocations: 3.448 MB / 1.106 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/0.4387, allocations: 4 kB / 1.106 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.4391, allocations: 59.97 kB / 1.106 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.4393, allocations: 207.1 kB / 1.106 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.445, allocations: 3.131 MB / 1.109 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/0.4637, allocations: 13.62 MB / 1.123 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.4663, allocations: 1.725 MB / 1.124 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.4684, allocations: 1.436 MB / 1.126 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/0.4685, allocations: 13 kB / 1.126 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4685, allocations: 47.56 kB / 1.126 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 4.178e-06/0.4685, allocations: 0 / 1.126 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1487/0.6172, allocations: 36.66 MB / 1.162 GB, free: 9.355 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6173, allocations: 73.41 kB / 1.162 GB, free: 9.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.6187, allocations: 1.053 MB / 1.163 GB, free: 8.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.619, allocations: 57.7 kB / 1.163 GB, free: 8.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/0.6196, allocations: 0.7835 MB / 1.164 GB, free: 7.336 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007299/0.6203, allocations: 0.6277 MB / 1.164 GB, free: 6.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008031/0.6211, allocations: 359.4 kB / 1.165 GB, free: 6.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6213, allocations: 301.1 kB / 1.165 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/0.6242, allocations: 1.932 MB / 1.167 GB, free: 4.109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.6273, allocations: 2.285 MB / 1.169 GB, free: 1.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006133/0.6334, allocations: 4.395 MB / 1.173 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6334, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02104/0.6545, allocations: 9.025 MB / 1.182 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.6546, allocations: 11.94 kB / 1.182 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.6546, allocations: 8 kB / 1.182 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01714/0.6718, allocations: 5.005 MB / 1.187 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.6727, allocations: 191.6 kB / 1.187 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05805/0.7308, allocations: 38.94 MB / 1.225 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.733, allocations: 99.89 kB / 1.225 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.7332, allocations: 71.98 kB / 1.225 GB, free: 7.211 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.001437/0.7346, allocations: 0.8063 MB / 1.226 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.735, allocations: 138.3 kB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/0.7553, allocations: 8.89 MB / 1.235 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.7554, allocations: 16 kB / 1.235 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.235e-05/0.7555, allocations: 32 kB / 1.235 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.7555, allocations: 11.95 kB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6768/1.432, allocations: 13.3 MB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/1.432, allocations: 3.812 kB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/1.433, allocations: 117 kB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02484/1.458, allocations: 4.79 MB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/1.459, allocations: 38.34 kB / 1.253 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05637/1.515, allocations: 34.86 MB / 1.287 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.515, allocations: 6.562 kB / 1.287 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/1.535, allocations: 8.409 MB / 1.295 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.537, allocations: 0.6093 MB / 1.296 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.537, allocations: 43.53 kB / 1.296 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.539, allocations: 87.33 kB / 1.296 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001365/1.541, allocations: 162.7 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.541, allocations: 45.97 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00133/1.542, allocations: 0.7406 MB / 1.297 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.82e-07/1.542, allocations: 4 kB / 1.297 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004441/1.547, allocations: 1.007 MB / 1.298 GB, free: 148.3 MB / 0.9981 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.000396/1.547, allocations: 138.5 kB / 1.298 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.561, allocations: 6.694 MB / 1.304 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.561, allocations: 0 / 1.304 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009906/1.571, allocations: 3.835 MB / 1.308 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.573, allocations: 244.9 kB / 1.308 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.585, allocations: 4.98 MB / 1.313 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/1.587, allocations: 1.854 MB / 1.315 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001204/1.588, allocations: 361.4 kB / 1.315 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.589, allocations: 67.42 kB / 1.315 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.589, allocations: 0 / 1.315 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.09441/1.683, allocations: 59.13 MB / 1.373 GB, free: 80.92 MB / 0.9981 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