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.01047/0.01047, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.002141/0.002141, allocations: 196 kB / 16.67 MB, free: 6.352 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.582/2.582, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.48 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01898/0.3631, allocations: 14.78 MB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.3796, allocations: 10.35 MB / 1.112 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.3817, allocations: 55.69 kB / 1.113 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.3868, allocations: 1.688 MB / 1.114 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.3936, allocations: 1.857 MB / 1.116 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3961, allocations: 0.7516 MB / 1.117 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005643/0.4018, allocations: 2.75 MB / 1.119 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.405, allocations: 1.423 MB / 1.121 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.4082, allocations: 1.531 MB / 1.122 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.4112, allocations: 1.164 MB / 1.123 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007075/0.412, allocations: 163.9 kB / 1.124 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.4145, allocations: 0.7877 MB / 1.124 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.4156, allocations: 0.5998 MB / 1.125 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002261/0.4179, allocations: 0.9561 MB / 1.126 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.4242, allocations: 2.775 MB / 1.129 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.4242, allocations: 0 / 1.129 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4243, allocations: 4 kB / 1.129 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000133/0.4244, allocations: 4 kB / 1.129 GB, free: 7.719 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.00705/0.4315, allocations: 2.234 MB / 1.131 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4315, allocations: 8.031 kB / 1.131 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.4438, allocations: 2.113 MB / 1.133 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.4476, allocations: 1.316 MB / 1.134 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.4478, allocations: 90.62 kB / 1.134 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.4482, allocations: 120.1 kB / 1.134 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/0.4545, allocations: 2.67 MB / 1.137 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.4545, allocations: 3.938 kB / 1.137 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.4547, allocations: 55.98 kB / 1.137 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006818/0.4554, allocations: 190.1 kB / 1.137 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007794/0.4632, allocations: 2.795 MB / 1.14 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.4807, allocations: 10.48 MB / 1.15 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008597/0.4894, allocations: 2.344 MB / 1.152 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.493, allocations: 1.28 MB / 1.154 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.4931, allocations: 9 kB / 1.154 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.4932, allocations: 51.5 kB / 1.154 GB, free: 13.06 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.4932, allocations: 0 / 1.154 GB, free: 13.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06286/0.556, allocations: 16.52 MB / 1.17 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5561, allocations: 68.66 kB / 1.17 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.5583, allocations: 1.172 MB / 1.171 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.5586, allocations: 49.7 kB / 1.171 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006127/0.5592, allocations: 0.7606 MB / 1.172 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006565/0.5599, allocations: 0.5344 MB / 1.172 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/0.5606, allocations: 291.5 kB / 1.173 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5607, allocations: 309.1 kB / 1.173 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.5645, allocations: 1.507 MB / 1.174 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.5685, allocations: 1.784 MB / 1.176 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/0.5765, allocations: 3.365 MB / 1.179 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5766, allocations: 0 / 1.179 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01488/0.5915, allocations: 5.285 MB / 1.185 GB, free: 13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.5916, allocations: 13.86 kB / 1.185 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/0.5916, allocations: 8 kB / 1.185 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007347/0.5989, allocations: 1.881 MB / 1.186 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.6011, allocations: 411.3 kB / 1.187 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/0.6347, allocations: 24.15 MB / 1.21 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.638, allocations: 307.5 kB / 1.211 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.6385, allocations: 63.97 kB / 1.211 GB, free: 1.043 MB / 0.9669 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.001477/0.64, allocations: 479.8 kB / 1.211 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006861/0.6407, allocations: 182.9 kB / 1.211 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.6556, allocations: 5.32 MB / 1.217 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.6557, allocations: 12 kB / 1.217 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-05/0.6557, allocations: 20 kB / 1.217 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.6558, allocations: 7.969 kB / 1.217 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.6764, allocations: 7.415 MB / 1.224 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.6765, allocations: 4.344 kB / 1.224 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.6783, allocations: 355.4 kB / 1.224 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006446/0.6848, allocations: 1.713 MB / 1.226 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.685, allocations: 43.97 kB / 1.226 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03679/0.7218, allocations: 23.33 MB / 1.249 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7218, allocations: 7.938 kB / 1.249 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/0.7357, allocations: 4.904 MB / 1.254 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.7372, allocations: 495.7 kB / 1.254 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005535/0.7378, allocations: 28 kB / 1.254 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/0.7404, allocations: 319.5 kB / 1.254 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006181/0.7411, allocations: 153 kB / 1.255 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.7413, allocations: 55.97 kB / 1.255 GB, free: 2.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001424/0.7427, allocations: 0.7899 MB / 1.255 GB, free: 2.035 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7427, allocations: 0 / 1.255 GB, free: 2.035 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003127/0.7458, allocations: 0.6562 MB / 1.256 GB, free: 1.379 MB / 1.014 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.0004811/0.7463, allocations: 139.7 kB / 1.256 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.6988/1.445, allocations: 5.161 MB / 1.261 GB, free: 157.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.445, allocations: 1.625 kB / 1.261 GB, free: 157.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008125/1.453, allocations: 3.358 MB / 1.264 GB, free: 156.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.456, allocations: 0.5534 MB / 1.265 GB, free: 156.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.47, allocations: 4.346 MB / 1.269 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/1.473, allocations: 1.567 MB / 1.271 GB, free: 154.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003068/1.476, allocations: 388.2 kB / 1.271 GB, free: 154.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/1.477, allocations: 107.7 kB / 1.271 GB, free: 154.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.214e-06/1.477, allocations: 3.938 kB / 1.271 GB, free: 154.4 MB / 1.014 GB Notification: Performance of Templates: time 0.1328/1.61, allocations: 45.37 MB / 1.316 GB, free: 136.2 MB / 1.014 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/jenkins/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