Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0009934/0.0009935, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001529/0.001529, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.297 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.715/2.715, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004701, allocations: 15.94 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.8401, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01648/0.8566, allocations: 13.34 MB / 1.035 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.8749, allocations: 9.619 MB / 1.045 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.8771, allocations: 47.69 kB / 1.045 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.8784, allocations: 281.8 kB / 1.045 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006664/0.8851, allocations: 1.459 MB / 1.047 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.8874, allocations: 0.5222 MB / 1.047 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0053/0.8927, allocations: 2.902 MB / 1.05 GB, free: 3.812 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.8966, allocations: 1.797 MB / 1.052 GB, free: 1.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.8994, allocations: 1.289 MB / 1.053 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.9018, allocations: 1.043 MB / 1.054 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.902, allocations: 68 kB / 1.054 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.9037, allocations: 435.5 kB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006172/0.9043, allocations: 0.4944 MB / 1.055 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.9049, allocations: 352.8 kB / 1.055 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.9074, allocations: 2.119 MB / 1.057 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.9074, allocations: 0 / 1.057 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9074, allocations: 3.938 kB / 1.057 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.415e-05/0.9074, allocations: 0 / 1.057 GB, free: 12.17 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.003823/0.9113, allocations: 1.859 MB / 1.059 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.9113, allocations: 8.562 kB / 1.059 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.9219, allocations: 2.178 MB / 1.061 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.9249, allocations: 1.159 MB / 1.062 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.925, allocations: 90.3 kB / 1.062 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.9253, allocations: 123.9 kB / 1.063 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.9312, allocations: 2.682 MB / 1.065 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.9313, allocations: 7.984 kB / 1.065 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.9315, allocations: 47.98 kB / 1.065 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006531/0.9321, allocations: 194.1 kB / 1.065 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00712/0.9393, allocations: 2.838 MB / 1.068 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.9558, allocations: 10.56 MB / 1.079 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005934/0.9618, allocations: 2.383 MB / 1.081 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.9649, allocations: 1.295 MB / 1.082 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.59e-05/0.965, allocations: 9 kB / 1.082 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.9651, allocations: 47.56 kB / 1.082 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 4.138e-06/0.9651, allocations: 0 / 1.082 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=153): time 0.05268/1.018, allocations: 16.5 MB / 1.098 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.018, allocations: 68.72 kB / 1.098 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.02, allocations: 1.172 MB / 1.1 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/1.02, allocations: 49.7 kB / 1.1 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/1.021, allocations: 0.7435 MB / 1.1 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000544/1.021, allocations: 0.5121 MB / 1.101 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.021, allocations: 28 kB / 1.101 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.021, allocations: 365.9 kB / 1.101 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/1.025, allocations: 1.526 MB / 1.103 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/1.028, allocations: 1.795 MB / 1.104 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/1.032, allocations: 1.642 MB / 1.106 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.032, allocations: 4 kB / 1.106 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01281/1.045, allocations: 5.293 MB / 1.111 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/1.045, allocations: 12.06 kB / 1.111 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.045, allocations: 12 kB / 1.111 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/1.051, allocations: 1.895 MB / 1.113 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/1.053, allocations: 427.3 kB / 1.113 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03016/1.083, allocations: 22.15 MB / 1.135 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/1.086, allocations: 311.5 kB / 1.135 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/1.086, allocations: 67.97 kB / 1.135 GB, free: 9.816 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.088, allocations: 465.5 kB / 1.136 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/1.088, allocations: 177.8 kB / 1.136 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.102, allocations: 5.344 MB / 1.141 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.102, allocations: 16 kB / 1.141 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.668e-05/1.102, allocations: 24 kB / 1.141 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.102, allocations: 11.91 kB / 1.141 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.12, allocations: 7.45 MB / 1.149 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.12, allocations: 0 / 1.149 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.121, allocations: 375.7 kB / 1.149 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/1.127, allocations: 1.701 MB / 1.151 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.127, allocations: 43.97 kB / 1.151 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/1.155, allocations: 21.35 MB / 1.172 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.156, allocations: 4 kB / 1.172 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.167, allocations: 4.905 MB / 1.176 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.169, allocations: 0.4909 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/1.169, allocations: 28.56 kB / 1.177 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.171, allocations: 331.5 kB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005181/1.172, allocations: 149 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.172, allocations: 59.91 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001267/1.173, allocations: 0.7743 MB / 1.178 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.173, allocations: 0 / 1.178 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002429/1.176, allocations: 0.664 MB / 1.179 GB, free: 12.13 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003424/1.176, allocations: 143.1 kB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.187, allocations: 5.18 MB / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.187, allocations: 0 / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007036/1.194, allocations: 3.367 MB / 1.187 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.197, allocations: 0.5148 MB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009841/1.207, allocations: 4.861 MB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.209, allocations: 1.572 MB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001954/1.211, allocations: 386.4 kB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.211, allocations: 107.4 kB / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/1.211, allocations: 0 / 1.194 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.07154/1.283, allocations: 41.43 MB / 1.235 GB, free: 2.727 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches