Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.11 kB / 15.36 MB, free: 0.7305 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.00156/0.00156, allocations: 171.8 kB / 16.26 MB, free: 6.656 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.731/2.731, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003831, allocations: 11.94 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7328, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03493/0.7678, allocations: 29.73 MB / 1.052 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.7908, allocations: 13.41 MB / 1.065 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.7941, allocations: 123.2 kB / 1.065 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.7971, allocations: 0.6551 MB / 1.066 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009218/0.8063, allocations: 2.47 MB / 1.068 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005938/0.8123, allocations: 1.713 MB / 1.07 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01265/0.8249, allocations: 10.43 MB / 1.08 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/0.8418, allocations: 10.18 MB / 1.09 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/0.8475, allocations: 2.58 MB / 1.093 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0056/0.8531, allocations: 2.942 MB / 1.096 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.8543, allocations: 244 kB / 1.096 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.8582, allocations: 1.376 MB / 1.097 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003073/0.8612, allocations: 1.929 MB / 1.099 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004732/0.866, allocations: 2.38 MB / 1.101 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.878, allocations: 9.017 MB / 1.11 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.878, allocations: 0 / 1.11 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8781, allocations: 0 / 1.11 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000362/0.8784, allocations: 0 / 1.11 GB, free: 6.305 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01059/0.889, allocations: 4.158 MB / 1.114 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.8891, allocations: 19.98 kB / 1.114 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.8958, allocations: 0.9902 MB / 1.115 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.9023, allocations: 2.896 MB / 1.118 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.9026, allocations: 312.8 kB / 1.118 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.9041, allocations: 428 kB / 1.119 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.9203, allocations: 6.795 MB / 1.125 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.9205, allocations: 19.78 kB / 1.125 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.9216, allocations: 180 kB / 1.126 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.9227, allocations: 376 kB / 1.126 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.9334, allocations: 5.103 MB / 1.131 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04077/0.9742, allocations: 30.81 MB / 1.161 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.9767, allocations: 1.391 MB / 1.162 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.9787, allocations: 1.328 MB / 1.164 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.9789, allocations: 21.22 kB / 1.164 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.9789, allocations: 47.88 kB / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 3.086e-06/0.9789, allocations: 0 / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.09296/1.072, allocations: 22.81 MB / 1.186 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.072, allocations: 73.41 kB / 1.186 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/1.077, allocations: 2.066 MB / 1.188 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.077, allocations: 57.7 kB / 1.188 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.079, allocations: 2.006 MB / 1.19 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.08, allocations: 0.6816 MB / 1.191 GB, free: 324 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/1.081, allocations: 182.3 kB / 1.191 GB, free: 136 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.081, allocations: 305.1 kB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/1.084, allocations: 1.437 MB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.087, allocations: 2.01 MB / 1.195 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005727/1.092, allocations: 3.692 MB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/1.092, allocations: 8 kB / 1.198 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01308/1.106, allocations: 5.653 MB / 1.204 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.106, allocations: 14.03 kB / 1.204 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/1.106, allocations: 20 kB / 1.204 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007333/1.113, allocations: 2.084 MB / 1.206 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.115, allocations: 379.4 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04042/1.155, allocations: 35.54 MB / 1.241 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/1.159, allocations: 131.8 kB / 1.241 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004699/1.159, allocations: 92 kB / 1.241 GB, free: 9.758 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003671/1.163, allocations: 1.513 MB / 1.242 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008103/1.164, allocations: 280.7 kB / 1.243 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.175, allocations: 5.211 MB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.175, allocations: 20 kB / 1.248 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.984e-05/1.175, allocations: 20 kB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.175, allocations: 12.19 kB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6501/1.825, allocations: 9.674 MB / 1.257 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.826, allocations: 6.984 kB / 1.257 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.827, allocations: 213.2 kB / 1.258 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006297/1.833, allocations: 1.841 MB / 1.259 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/1.833, allocations: 42.97 kB / 1.259 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/1.866, allocations: 34.56 MB / 1.293 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.866, allocations: 7.031 kB / 1.293 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/1.875, allocations: 4.916 MB / 1.298 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.876, allocations: 0.6166 MB / 1.299 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/1.877, allocations: 49.5 kB / 1.299 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.878, allocations: 123.7 kB / 1.299 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006669/1.879, allocations: 191.6 kB / 1.299 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.879, allocations: 61.33 kB / 1.299 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001649/1.88, allocations: 1.371 MB / 1.3 GB, free: 173 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.88, allocations: 7.156 kB / 1.3 GB, free: 173 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00326/1.884, allocations: 1.045 MB / 1.301 GB, free: 173 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002765/1.884, allocations: 170.1 kB / 1.301 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008431/1.892, allocations: 6.275 MB / 1.308 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.892, allocations: 0 / 1.308 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005536/1.898, allocations: 4.406 MB / 1.312 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006043/1.904, allocations: 0.9168 MB / 1.313 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.917, allocations: 10.05 MB / 1.323 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.92, allocations: 3.132 MB / 1.326 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001779/1.922, allocations: 0.5239 MB / 1.326 GB, free: 157 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.922, allocations: 151.4 kB / 1.326 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.923, allocations: 0 / 1.326 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08072/2.003, allocations: 57.03 MB / 1.382 GB, free: 100.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches