Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.007745/0.007745, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.002028/0.002028, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 63.91 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.7657, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01896/0.7847, allocations: 13.97 MB / 1.031 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.8024, allocations: 9.389 MB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.8042, allocations: 47.69 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00459/0.8088, allocations: 1.568 MB / 1.042 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.814, allocations: 1.41 MB / 1.043 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.8161, allocations: 0.6861 MB / 1.044 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004188/0.8203, allocations: 3.171 MB / 1.047 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.8227, allocations: 1.354 MB / 1.048 GB, free: 3.023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.8245, allocations: 0.9416 MB / 1.049 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.8265, allocations: 1.14 MB / 1.05 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.8271, allocations: 100 kB / 1.05 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.8291, allocations: 0.8812 MB / 1.051 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008184/0.8299, allocations: 0.5568 MB / 1.052 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.8312, allocations: 0.8704 MB / 1.053 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.8336, allocations: 2.174 MB / 1.055 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8336, allocations: 4 kB / 1.055 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8336, allocations: 3.984 kB / 1.055 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.695e-05/0.8337, allocations: 4 kB / 1.055 GB, free: 12.33 MB / 0.8106 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.005081/0.8388, allocations: 2.131 MB / 1.057 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8389, allocations: 12.03 kB / 1.057 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.8498, allocations: 2.085 MB / 1.059 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.8523, allocations: 1.201 MB / 1.06 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.8524, allocations: 90.73 kB / 1.06 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.8528, allocations: 120.1 kB / 1.06 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005897/0.8587, allocations: 2.686 MB / 1.063 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.188e-05/0.8588, allocations: 3.906 kB / 1.063 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.859, allocations: 59.92 kB / 1.063 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006181/0.8596, allocations: 178.1 kB / 1.063 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007285/0.8669, allocations: 2.803 MB / 1.066 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.8823, allocations: 10.5 MB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006338/0.8887, allocations: 2.523 MB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.8917, allocations: 1.289 MB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.8918, allocations: 13 kB / 1.08 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.8919, allocations: 47.55 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 4.288e-06/0.8919, allocations: 11.88 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.04609/0.938, allocations: 13.36 MB / 1.093 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.9381, allocations: 64.72 kB / 1.093 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.9402, allocations: 1.113 MB / 1.094 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.9404, allocations: 49.7 kB / 1.094 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/0.941, allocations: 0.7194 MB / 1.095 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005849/0.9416, allocations: 453.4 kB / 1.095 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006634/0.9423, allocations: 259.5 kB / 1.095 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9425, allocations: 361.9 kB / 1.096 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.9458, allocations: 1.343 MB / 1.097 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.9492, allocations: 1.6 MB / 1.099 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006678/0.9559, allocations: 2.991 MB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.956, allocations: 4 kB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01162/0.9676, allocations: 4.443 MB / 1.106 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.9677, allocations: 8 kB / 1.106 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.9677, allocations: 12.06 kB / 1.106 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/0.9733, allocations: 1.431 MB / 1.107 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.9755, allocations: 439.2 kB / 1.108 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/1.003, allocations: 24.55 MB / 1.132 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.006, allocations: 299.5 kB / 1.132 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.006, allocations: 64.06 kB / 1.132 GB, free: 9.812 MB / 0.8887 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.001182/1.007, allocations: 438.2 kB / 1.132 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/1.008, allocations: 166 kB / 1.133 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.02, allocations: 4.457 MB / 1.137 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.02, allocations: 19.98 kB / 1.137 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.897e-05/1.02, allocations: 12 kB / 1.137 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.02, allocations: 4.094 kB / 1.137 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.036, allocations: 6.759 MB / 1.144 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.036, allocations: 4 kB / 1.144 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.037, allocations: 383.6 kB / 1.144 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/1.042, allocations: 1.306 MB / 1.145 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.043, allocations: 43.97 kB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/1.068, allocations: 23.51 MB / 1.168 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.068, allocations: 4 kB / 1.168 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.079, allocations: 4.204 MB / 1.172 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.08, allocations: 458.9 kB / 1.173 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/1.081, allocations: 24 kB / 1.173 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.083, allocations: 311.5 kB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/1.083, allocations: 124.7 kB / 1.173 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.084, allocations: 47.97 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001244/1.085, allocations: 0.7565 MB / 1.174 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.085, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002458/1.087, allocations: 0.5703 MB / 1.175 GB, free: 12.12 MB / 0.9356 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.0003359/1.088, allocations: 148.5 kB / 1.175 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.099, allocations: 5.111 MB / 1.18 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.099, allocations: 3.938 kB / 1.18 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00681/1.105, allocations: 3.488 MB / 1.183 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/1.11, allocations: 0.5158 MB / 1.184 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.122, allocations: 4.775 MB / 1.188 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.124, allocations: 1.47 MB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/1.124, allocations: 131.3 kB / 1.19 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of SimCode: time 1.112e-06/1.124, allocations: 8 kB / 1.19 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.634/1.758, allocations: 112.5 MB / 1.3 GB, free: 189.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches