Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 103.8 kB / 16.27 MB, free: 6.398 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.00161/0.00161, allocations: 191.3 kB / 17.2 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 68.34 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.301, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02424/0.3252, allocations: 20.25 MB / 1.038 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.3373, allocations: 6.445 MB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.3395, allocations: 87.56 kB / 1.044 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006256/0.3459, allocations: 2.241 MB / 1.046 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.3498, allocations: 1.181 MB / 1.047 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.3536, allocations: 1.283 MB / 1.049 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006568/0.3602, allocations: 4.854 MB / 1.053 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009374/0.3696, allocations: 5.642 MB / 1.059 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/0.3735, allocations: 2.076 MB / 1.061 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.3775, allocations: 2.344 MB / 1.063 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.379, allocations: 432 kB / 1.064 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.3819, allocations: 0.9986 MB / 1.065 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.3845, allocations: 1.668 MB / 1.066 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004197/0.3887, allocations: 1.914 MB / 1.068 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.3966, allocations: 6.474 MB / 1.074 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.3966, allocations: 0 / 1.074 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3966, allocations: 3.938 kB / 1.074 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002261/0.3969, allocations: 4 kB / 1.074 GB, free: 0.5312 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.5227/0.9196, allocations: 3.447 MB / 1.078 GB, free: 59.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9196, allocations: 10.89 kB / 1.078 GB, free: 59.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.9239, allocations: 0.6385 MB / 1.078 GB, free: 59.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.928, allocations: 1.938 MB / 1.08 GB, free: 58.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.9282, allocations: 225.3 kB / 1.081 GB, free: 58.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/0.9289, allocations: 295.5 kB / 1.081 GB, free: 57.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.9396, allocations: 4.885 MB / 1.086 GB, free: 55.92 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.002e-05/0.9397, allocations: 14.12 kB / 1.086 GB, free: 55.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.9401, allocations: 125.2 kB / 1.086 GB, free: 55.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005723/0.9406, allocations: 231.8 kB / 1.086 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008156/0.9488, allocations: 3.749 MB / 1.09 GB, free: 54.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.9726, allocations: 21.57 MB / 1.111 GB, free: 37.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.9745, allocations: 1.304 MB / 1.112 GB, free: 36.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.9761, allocations: 1.053 MB / 1.113 GB, free: 36.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/0.9762, allocations: 11.34 kB / 1.113 GB, free: 36.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.9762, allocations: 49.64 kB / 1.113 GB, free: 36.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=107): time 3.787e-06/0.9762, allocations: 0 / 1.113 GB, free: 36.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138): time 0.02547/1.002, allocations: 8.651 MB / 1.122 GB, free: 33.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/1.002, allocations: 65.44 kB / 1.122 GB, free: 33.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.004, allocations: 1.129 MB / 1.123 GB, free: 32.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002623/1.004, allocations: 51.36 kB / 1.123 GB, free: 32.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009553/1.005, allocations: 1.297 MB / 1.124 GB, free: 31.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/1.006, allocations: 494.3 kB / 1.124 GB, free: 31.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005816/1.006, allocations: 287.3 kB / 1.125 GB, free: 30.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/1.007, allocations: 302.5 kB / 1.125 GB, free: 30.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/1.008, allocations: 0.9168 MB / 1.126 GB, free: 30.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.01, allocations: 1.325 MB / 1.127 GB, free: 29.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/1.013, allocations: 2.427 MB / 1.13 GB, free: 27.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.013, allocations: 7.781 kB / 1.13 GB, free: 27.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005985/1.019, allocations: 3.464 MB / 1.133 GB, free: 25.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.019, allocations: 10.78 kB / 1.133 GB, free: 25.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/1.019, allocations: 12.44 kB / 1.133 GB, free: 25.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/1.022, allocations: 1.195 MB / 1.134 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/1.023, allocations: 261.7 kB / 1.134 GB, free: 25.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.038, allocations: 13.85 MB / 1.148 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.04, allocations: 91.5 kB / 1.148 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.04, allocations: 63.38 kB / 1.148 GB, free: 14.94 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001768/1.042, allocations: 1.109 MB / 1.149 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/1.042, allocations: 161.2 kB / 1.149 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/1.047, allocations: 3.175 MB / 1.152 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.047, allocations: 19.94 kB / 1.152 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.047, allocations: 12 kB / 1.152 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.047, allocations: 7.969 kB / 1.152 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/1.056, allocations: 6.236 MB / 1.159 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.056, allocations: 12.3 kB / 1.159 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/1.057, allocations: 147.8 kB / 1.159 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/1.059, allocations: 1.082 MB / 1.16 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.059, allocations: 32 kB / 1.16 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/1.075, allocations: 13.54 MB / 1.173 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.075, allocations: 7.938 kB / 1.173 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/1.08, allocations: 3.15 MB / 1.176 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/1.081, allocations: 427 kB / 1.177 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.081, allocations: 32.36 kB / 1.177 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/1.082, allocations: 87.5 kB / 1.177 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/1.083, allocations: 128.6 kB / 1.177 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/1.083, allocations: 44 kB / 1.177 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001016/1.084, allocations: 0.7671 MB / 1.178 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.084, allocations: 4 kB / 1.178 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002338/1.086, allocations: 0.6602 MB / 1.178 GB, free: 0.6602 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/1.086, allocations: 139.1 kB / 1.178 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005918/1.092, allocations: 3.635 MB / 1.182 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.092, allocations: 0 / 1.182 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003055/1.095, allocations: 1.951 MB / 1.184 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.098, allocations: 0.4959 MB / 1.184 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.107, allocations: 5.854 MB / 1.19 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/1.11, allocations: 2.387 MB / 1.192 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/1.11, allocations: 99.42 kB / 1.192 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of SimCode: time 9.52e-07/1.11, allocations: 0 / 1.192 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of Templates: time 0.09348/1.204, allocations: 79.44 MB / 1.27 GB, free: 2.551 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches