Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 104.6 kB / 16.41 MB, free: 6.496 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.001467/0.001467, allocations: 183 kB / 17.34 MB, free: 5.734 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8824, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01752/0.9, allocations: 14.04 MB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.9164, allocations: 9.386 MB / 1.111 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.9185, allocations: 58.72 kB / 1.112 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004963/0.9235, allocations: 1.678 MB / 1.113 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.9292, allocations: 1.548 MB / 1.115 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.9317, allocations: 0.7527 MB / 1.115 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00446/0.9361, allocations: 2.525 MB / 1.118 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.9388, allocations: 1.403 MB / 1.119 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.9412, allocations: 1.078 MB / 1.12 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.9439, allocations: 1.141 MB / 1.121 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006903/0.9446, allocations: 165.8 kB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.9469, allocations: 0.7885 MB / 1.122 GB, free: 136 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.9481, allocations: 0.6139 MB / 1.123 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.9502, allocations: 0.9459 MB / 1.124 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.9554, allocations: 2.762 MB / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9554, allocations: 1.062 kB / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9554, allocations: 3.938 kB / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001097/0.9555, allocations: 0 / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006451/0.962, allocations: 2.132 MB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.962, allocations: 9.516 kB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.9748, allocations: 2.09 MB / 1.131 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.9787, allocations: 1.286 MB / 1.132 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.9789, allocations: 97.8 kB / 1.132 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007166/0.9796, allocations: 125.8 kB / 1.132 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/0.9877, allocations: 2.669 MB / 1.135 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.649e-05/0.9878, allocations: 8.156 kB / 1.135 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.9882, allocations: 55.2 kB / 1.135 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007384/0.9889, allocations: 184.2 kB / 1.135 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008946/0.9979, allocations: 2.793 MB / 1.138 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/1.016, allocations: 10.47 MB / 1.148 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007247/1.023, allocations: 2.521 MB / 1.15 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/1.026, allocations: 1.29 MB / 1.152 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/1.027, allocations: 9.469 kB / 1.152 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/1.027, allocations: 48.28 kB / 1.152 GB, free: 248 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 3.507e-06/1.027, allocations: 0 / 1.152 GB, free: 248 kB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.05036/1.077, allocations: 13.37 MB / 1.165 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.077, allocations: 64.75 kB / 1.165 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/1.079, allocations: 1.113 MB / 1.166 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/1.08, allocations: 47.42 kB / 1.166 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.08, allocations: 0.7149 MB / 1.167 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006415/1.081, allocations: 458.9 kB / 1.167 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/1.082, allocations: 262.6 kB / 1.167 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.082, allocations: 360.3 kB / 1.168 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/1.085, allocations: 1.342 MB / 1.169 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/1.089, allocations: 1.606 MB / 1.171 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/1.097, allocations: 2.995 MB / 1.174 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.097, allocations: 2.781 kB / 1.174 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01283/1.11, allocations: 4.436 MB / 1.178 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.11, allocations: 8.5 kB / 1.178 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.11, allocations: 7.469 kB / 1.178 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005496/1.115, allocations: 1.432 MB / 1.179 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/1.118, allocations: 439.2 kB / 1.18 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0279/1.145, allocations: 26.68 MB / 1.206 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/1.148, allocations: 299.6 kB / 1.206 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/1.149, allocations: 71.91 kB / 1.206 GB, free: 2.547 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.15, allocations: 434.9 kB / 1.207 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/1.15, allocations: 162 kB / 1.207 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.162, allocations: 4.461 MB / 1.211 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.163, allocations: 12 kB / 1.211 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.603e-05/1.163, allocations: 12 kB / 1.211 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/1.163, allocations: 3.984 kB / 1.211 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.179, allocations: 6.764 MB / 1.218 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.179, allocations: 4 kB / 1.218 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.181, allocations: 379.7 kB / 1.218 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004817/1.186, allocations: 1.311 MB / 1.219 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/1.186, allocations: 35.97 kB / 1.219 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/1.212, allocations: 25.5 MB / 1.244 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.212, allocations: 7.969 kB / 1.244 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.224, allocations: 4.206 MB / 1.248 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.225, allocations: 454.9 kB / 1.249 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/1.226, allocations: 28 kB / 1.249 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.228, allocations: 303.5 kB / 1.249 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/1.229, allocations: 136.6 kB / 1.249 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.229, allocations: 47.97 kB / 1.249 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001271/1.23, allocations: 0.7525 MB / 1.25 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.23, allocations: 0 / 1.25 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002628/1.233, allocations: 0.5703 MB / 1.251 GB, free: 2.785 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003827/1.233, allocations: 147 kB / 1.251 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.245, allocations: 5.131 MB / 1.256 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.245, allocations: 0 / 1.256 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007237/1.252, allocations: 3.491 MB / 1.259 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/1.256, allocations: 0.5441 MB / 1.26 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/1.265, allocations: 4.113 MB / 1.264 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.267, allocations: 1.473 MB / 1.265 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/1.268, allocations: 139.3 kB / 1.265 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/1.268, allocations: 0 / 1.265 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of Templates: time 0.1058/1.373, allocations: 112.6 MB / 1.375 GB, free: 2.723 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches