Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001786/0.001786, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.2 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8334/0.8349, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01785/0.8528, allocations: 14.78 MB / 1.103 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.8699, allocations: 10.35 MB / 1.113 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.8718, allocations: 57.97 kB / 1.113 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004908/0.8767, allocations: 1.691 MB / 1.115 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.8836, allocations: 1.81 MB / 1.117 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.8862, allocations: 0.7589 MB / 1.117 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004897/0.8911, allocations: 2.75 MB / 1.12 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.8933, allocations: 1.419 MB / 1.121 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.8961, allocations: 1.534 MB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.8984, allocations: 1.159 MB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.8987, allocations: 164.3 kB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.9007, allocations: 0.7859 MB / 1.125 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.9014, allocations: 0.6078 MB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.9027, allocations: 0.9564 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.9068, allocations: 2.764 MB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9068, allocations: 4 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9068, allocations: 0 / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.303e-05/0.9069, allocations: 1.219 kB / 1.129 GB, free: 12.73 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.004863/0.9118, allocations: 2.17 MB / 1.131 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.9118, allocations: 10.25 kB / 1.131 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.9247, allocations: 2.114 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.9281, allocations: 1.302 MB / 1.135 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.9282, allocations: 85.75 kB / 1.135 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.9286, allocations: 119.4 kB / 1.135 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00671/0.9353, allocations: 2.668 MB / 1.137 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.9354, allocations: 12.73 kB / 1.138 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.9356, allocations: 54.23 kB / 1.138 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007546/0.9364, allocations: 194.1 kB / 1.138 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008575/0.945, allocations: 2.79 MB / 1.14 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.961, allocations: 10.47 MB / 1.151 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/0.9681, allocations: 2.331 MB / 1.153 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.9716, allocations: 1.284 MB / 1.154 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.9717, allocations: 18.33 kB / 1.154 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.9718, allocations: 39.59 kB / 1.154 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.9718, allocations: 0 / 1.154 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153): time 0.06418/1.036, allocations: 16.5 MB / 1.17 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.036, allocations: 67.91 kB / 1.17 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/1.038, allocations: 1.174 MB / 1.172 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/1.038, allocations: 55.19 kB / 1.172 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/1.039, allocations: 0.7392 MB / 1.172 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/1.039, allocations: 0.5179 MB / 1.173 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00058/1.04, allocations: 284.2 kB / 1.173 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.04, allocations: 309 kB / 1.173 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/1.044, allocations: 1.511 MB / 1.175 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004041/1.048, allocations: 1.772 MB / 1.177 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007827/1.056, allocations: 3.371 MB / 1.18 GB, free: 15.38 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.056, allocations: 4 kB / 1.18 GB, free: 15.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01457/1.07, allocations: 5.273 MB / 1.185 GB, free: 10.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.07, allocations: 12.03 kB / 1.185 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.07, allocations: 8 kB / 1.185 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007322/1.078, allocations: 1.88 MB / 1.187 GB, free: 8.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.08, allocations: 423.3 kB / 1.187 GB, free: 7.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03129/1.111, allocations: 24.13 MB / 1.211 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/1.115, allocations: 307.6 kB / 1.211 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/1.115, allocations: 63.97 kB / 1.211 GB, free: 14.11 MB / 0.9512 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001258/1.116, allocations: 469.4 kB / 1.212 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/1.117, allocations: 173.9 kB / 1.212 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.132, allocations: 5.32 MB / 1.217 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.132, allocations: 16 kB / 1.217 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-05/1.132, allocations: 19.98 kB / 1.217 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/1.132, allocations: 3.984 kB / 1.217 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.15, allocations: 7.427 MB / 1.224 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.15, allocations: 0 / 1.224 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.152, allocations: 351.4 kB / 1.225 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006262/1.158, allocations: 1.719 MB / 1.226 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/1.158, allocations: 39.97 kB / 1.226 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02954/1.188, allocations: 23.31 MB / 1.249 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.188, allocations: 0 / 1.249 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.201, allocations: 4.895 MB / 1.254 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.203, allocations: 494.7 kB / 1.254 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/1.203, allocations: 32 kB / 1.254 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.206, allocations: 319.5 kB / 1.255 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/1.207, allocations: 149.2 kB / 1.255 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.207, allocations: 51.97 kB / 1.255 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001313/1.208, allocations: 0.7938 MB / 1.256 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.208, allocations: 0 / 1.256 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00277/1.211, allocations: 0.6562 MB / 1.256 GB, free: 14.49 MB / 0.9981 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/1.212, allocations: 143.6 kB / 1.257 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.224, allocations: 5.151 MB / 1.262 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/1.224, allocations: 4 kB / 1.262 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007619/1.232, allocations: 3.347 MB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.235, allocations: 0.5594 MB / 1.265 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.245, allocations: 4.411 MB / 1.27 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/1.247, allocations: 1.568 MB / 1.271 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/1.248, allocations: 123.3 kB / 1.271 GB, free: 14.89 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.248, allocations: 0 / 1.271 GB, free: 14.89 MB / 1.014 GB Notification: Performance of Templates: time 0.08764/1.335, allocations: 85.85 MB / 1.355 GB, free: 9.105 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches