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.001491/0.001491, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001698/0.001698, allocations: 187 kB / 17.34 MB, free: 5.762 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.388/1.388, 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.381/2.381, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8262, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0189/0.8451, allocations: 14.77 MB / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8638, allocations: 10.35 MB / 1.113 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.8662, allocations: 58.09 kB / 1.113 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005246/0.8715, allocations: 1.692 MB / 1.115 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0073/0.8788, allocations: 1.852 MB / 1.117 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.8817, allocations: 0.7536 MB / 1.117 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006548/0.8883, allocations: 2.756 MB / 1.12 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.892, allocations: 1.415 MB / 1.121 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.8956, allocations: 1.529 MB / 1.123 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.8986, allocations: 1.159 MB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008152/0.8994, allocations: 161.2 kB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.9021, allocations: 0.7826 MB / 1.125 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.9036, allocations: 0.615 MB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.9067, allocations: 0.9606 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.9129, allocations: 2.764 MB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.913, allocations: 0.7031 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.913, allocations: 0 / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001154/0.9131, allocations: 0 / 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.00697/0.9201, allocations: 2.179 MB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9201, allocations: 12.56 kB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.9328, allocations: 2.103 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004152/0.937, allocations: 1.306 MB / 1.135 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.9372, allocations: 89.34 kB / 1.135 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007606/0.9379, allocations: 120.2 kB / 1.135 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008255/0.9462, allocations: 2.675 MB / 1.138 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.9463, allocations: 11.47 kB / 1.138 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.9467, allocations: 55.2 kB / 1.138 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007392/0.9474, allocations: 189.8 kB / 1.138 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008758/0.9562, allocations: 2.793 MB / 1.141 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.9748, allocations: 10.47 MB / 1.151 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/0.9818, allocations: 2.335 MB / 1.153 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.9852, allocations: 1.28 MB / 1.154 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.9853, allocations: 9.781 kB / 1.154 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.9854, allocations: 43.98 kB / 1.154 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.9854, allocations: 3.984 kB / 1.154 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153): time 0.06331/1.049, allocations: 16.5 MB / 1.17 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.049, allocations: 68.44 kB / 1.17 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/1.051, allocations: 1.174 MB / 1.172 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003161/1.051, allocations: 50.61 kB / 1.172 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/1.052, allocations: 0.7426 MB / 1.172 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007885/1.053, allocations: 0.5185 MB / 1.173 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/1.053, allocations: 283.6 kB / 1.173 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/1.054, allocations: 306.2 kB / 1.173 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/1.057, allocations: 1.511 MB / 1.175 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/1.062, allocations: 1.776 MB / 1.177 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008133/1.07, allocations: 3.369 MB / 1.18 GB, free: 15.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.07, allocations: 4 kB / 1.18 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01464/1.085, allocations: 5.276 MB / 1.185 GB, free: 10.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.085, allocations: 8.875 kB / 1.185 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.085, allocations: 8 kB / 1.185 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00715/1.092, allocations: 1.881 MB / 1.187 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.094, allocations: 419.2 kB / 1.187 GB, free: 7.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03041/1.124, allocations: 24.14 MB / 1.211 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/1.127, allocations: 307.6 kB / 1.211 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/1.128, allocations: 67.97 kB / 1.211 GB, free: 14.07 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.00122/1.129, allocations: 465.3 kB / 1.212 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/1.13, allocations: 173.9 kB / 1.212 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.144, allocations: 5.324 MB / 1.217 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.144, allocations: 16 kB / 1.217 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/1.144, allocations: 24 kB / 1.217 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.144, allocations: 7.969 kB / 1.217 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.162, allocations: 7.419 MB / 1.224 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.162, allocations: 4 kB / 1.224 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.164, allocations: 351.4 kB / 1.225 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006385/1.171, allocations: 1.708 MB / 1.226 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/1.171, allocations: 43.97 kB / 1.226 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02931/1.2, allocations: 23.31 MB / 1.249 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.2, allocations: 4 kB / 1.249 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.214, allocations: 4.887 MB / 1.254 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.215, allocations: 498.7 kB / 1.254 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006572/1.216, allocations: 28 kB / 1.255 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.219, allocations: 323.4 kB / 1.255 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/1.219, allocations: 149 kB / 1.255 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.219, allocations: 59.95 kB / 1.255 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001358/1.221, allocations: 0.786 MB / 1.256 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.221, allocations: 0 / 1.256 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002741/1.223, allocations: 0.6562 MB / 1.256 GB, free: 14.45 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.0003874/1.224, allocations: 147.6 kB / 1.257 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.236, allocations: 5.143 MB / 1.262 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.236, allocations: 4.125 kB / 1.262 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007547/1.243, allocations: 3.347 MB / 1.265 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/1.247, allocations: 0.5625 MB / 1.265 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.257, allocations: 4.412 MB / 1.27 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.259, allocations: 1.568 MB / 1.271 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/1.26, allocations: 119.3 kB / 1.271 GB, free: 14.86 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/1.26, allocations: 3.938 kB / 1.271 GB, free: 14.85 MB / 1.014 GB Notification: Performance of Templates: time 0.09095/1.35, allocations: 85.85 MB / 1.355 GB, free: 9.062 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