Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009504, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001228/0.001228, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.000374, allocations: 15.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9295/0.9299, allocations: 142.4 MB / 0.9545 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03285/0.9628, allocations: 32.03 MB / 0.9857 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.9801, allocations: 9.488 MB / 0.995 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/0.9841, allocations: 127.3 kB / 0.9951 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.9865, allocations: 0.6859 MB / 0.9958 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.9927, allocations: 1.636 MB / 0.9974 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.997, allocations: 1.143 MB / 0.9985 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01145/1.008, allocations: 8.841 MB / 1.007 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.018/1.027, allocations: 10.41 MB / 1.017 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/1.032, allocations: 2.432 MB / 1.02 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005652/1.037, allocations: 3.13 MB / 1.023 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009488/1.038, allocations: 280 kB / 1.023 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/1.041, allocations: 0.6478 MB / 1.024 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/1.043, allocations: 2.089 MB / 1.026 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002058/1.045, allocations: 1.023 MB / 1.027 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.055, allocations: 8.561 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/1.056, allocations: 4 kB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.248e-06/1.056, allocations: 4 kB / 1.035 GB, free: 12.74 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0005886/1.056, allocations: 0 / 1.035 GB, free: 12.74 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01218/1.068, allocations: 4.415 MB / 1.039 GB, free: 8.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.068, allocations: 8.031 kB / 1.039 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005431/1.074, allocations: 0.9656 MB / 1.04 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/1.079, allocations: 2.925 MB / 1.043 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/1.08, allocations: 353.6 kB / 1.043 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008844/1.081, allocations: 467.9 kB / 1.044 GB, free: 3.492 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.095, allocations: 7.867 MB / 1.052 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/1.095, allocations: 23.81 kB / 1.052 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005008/1.095, allocations: 219.8 kB / 1.052 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005112/1.096, allocations: 369.1 kB / 1.052 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/1.106, allocations: 5.898 MB / 1.058 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/1.144, allocations: 36.23 MB / 1.093 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/1.147, allocations: 2.138 MB / 1.095 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/1.149, allocations: 1.482 MB / 1.097 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/1.149, allocations: 21.31 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.149, allocations: 59.8 kB / 1.097 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/1.149, allocations: 0 / 1.097 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=160): time 0.01362/1.163, allocations: 7.537 MB / 1.104 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/1.163, allocations: 68.72 kB / 1.104 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.166, allocations: 1.845 MB / 1.106 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/1.166, allocations: 53.7 kB / 1.106 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.167, allocations: 2.127 MB / 1.108 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/1.168, allocations: 0.5585 MB / 1.109 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.168, allocations: 44 kB / 1.109 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.168, allocations: 398.3 kB / 1.109 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.17, allocations: 1.051 MB / 1.11 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.172, allocations: 1.756 MB / 1.112 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/1.174, allocations: 1.349 MB / 1.113 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.174, allocations: 4 kB / 1.113 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006389/1.18, allocations: 3.902 MB / 1.117 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.18, allocations: 13.09 kB / 1.117 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.18, allocations: 24 kB / 1.117 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/1.183, allocations: 0.9391 MB / 1.118 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.184, allocations: 427.2 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.204, allocations: 21.05 MB / 1.139 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.206, allocations: 123.9 kB / 1.139 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.207, allocations: 99.94 kB / 1.139 GB, free: 11.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003184/1.21, allocations: 1.645 MB / 1.141 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/1.21, allocations: 257.1 kB / 1.141 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/1.216, allocations: 3.256 MB / 1.144 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.216, allocations: 16 kB / 1.144 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.216, allocations: 8 kB / 1.144 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.216, allocations: 11.97 kB / 1.144 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.228, allocations: 7.533 MB / 1.152 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.228, allocations: 4 kB / 1.152 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/1.229, allocations: 215.6 kB / 1.152 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/1.231, allocations: 0.8923 MB / 1.153 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.232, allocations: 32 kB / 1.153 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/1.25, allocations: 21.01 MB / 1.173 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.25, allocations: 8.266 kB / 1.173 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/1.256, allocations: 3.364 MB / 1.177 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.258, allocations: 0.5331 MB / 1.177 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/1.258, allocations: 32 kB / 1.177 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009768/1.259, allocations: 95.89 kB / 1.177 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/1.259, allocations: 137 kB / 1.177 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.259, allocations: 48 kB / 1.177 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001964/1.261, allocations: 1.209 MB / 1.179 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.261, allocations: 0 / 1.179 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003547/1.265, allocations: 0.9023 MB / 1.18 GB, free: 0.6523 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003079/1.265, allocations: 158.8 kB / 1.18 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006621/1.272, allocations: 4.408 MB / 1.184 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.272, allocations: 4 kB / 1.184 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.276, allocations: 3 MB / 1.187 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/1.281, allocations: 0.7929 MB / 1.188 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.296, allocations: 9.235 MB / 1.197 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003922/1.3, allocations: 3.209 MB / 1.2 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002175/1.302, allocations: 0.5254 MB / 1.2 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/1.302, allocations: 147.4 kB / 1.2 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.302, allocations: 0 / 1.2 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of Templates: time 0.07184/1.374, allocations: 39.76 MB / 1.239 GB, free: 3.555 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches