Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00158/0.00158, allocations: 190.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.22/2.22, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.767/3.767, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 67.17 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4467, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0205/0.4673, allocations: 20.12 MB / 1.072 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009502/0.4768, allocations: 6.379 MB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.4785, allocations: 79.56 kB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.4835, allocations: 2.1 MB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.4863, allocations: 1.081 MB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.489, allocations: 1.177 MB / 1.083 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005489/0.4946, allocations: 4.866 MB / 1.087 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00854/0.5031, allocations: 6.748 MB / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.5063, allocations: 2.122 MB / 1.096 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/0.5099, allocations: 2.457 MB / 1.098 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.511, allocations: 432 kB / 1.099 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.5135, allocations: 0.9987 MB / 1.1 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.5175, allocations: 1.665 MB / 1.101 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003893/0.5214, allocations: 1.914 MB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006451/0.5279, allocations: 6.528 MB / 1.11 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5279, allocations: 0 / 1.11 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5279, allocations: 0 / 1.11 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.22e-05/0.528, allocations: 0 / 1.11 GB, free: 13.75 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005389/0.5334, allocations: 3.455 MB / 1.113 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5334, allocations: 12.62 kB / 1.113 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.5339, allocations: 458.5 kB / 1.114 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.537, allocations: 0.6371 MB / 1.114 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.5398, allocations: 1.936 MB / 1.116 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.54, allocations: 222.3 kB / 1.116 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.5404, allocations: 304 kB / 1.117 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006521/0.5469, allocations: 4.882 MB / 1.121 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.547, allocations: 7.938 kB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.5473, allocations: 135.9 kB / 1.121 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/0.5477, allocations: 237.7 kB / 1.122 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00505/0.5527, allocations: 3.746 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/0.577, allocations: 21.57 MB / 1.146 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5789, allocations: 1.31 MB / 1.148 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5803, allocations: 1.042 MB / 1.149 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.5804, allocations: 13 kB / 1.149 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5804, allocations: 47.55 kB / 1.149 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 3.005e-06/0.5805, allocations: 4 kB / 1.149 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02616/0.6066, allocations: 8.656 MB / 1.157 GB, free: 10.67 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.6068, allocations: 68.72 kB / 1.157 GB, free: 10.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.61, allocations: 1.122 MB / 1.158 GB, free: 9.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.6103, allocations: 49.7 kB / 1.158 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.6117, allocations: 1.304 MB / 1.16 GB, free: 8.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/0.6125, allocations: 477.1 kB / 1.16 GB, free: 7.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009362/0.6135, allocations: 291.3 kB / 1.16 GB, free: 7.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.6137, allocations: 305.1 kB / 1.161 GB, free: 7.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.6155, allocations: 0.9135 MB / 1.162 GB, free: 6.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.6174, allocations: 1.33 MB / 1.163 GB, free: 4.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.621, allocations: 2.422 MB / 1.165 GB, free: 2.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.621, allocations: 0 / 1.165 GB, free: 2.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007599/0.6286, allocations: 3.468 MB / 1.169 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.6287, allocations: 12 kB / 1.169 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.6288, allocations: 20.06 kB / 1.169 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/0.6324, allocations: 1.193 MB / 1.17 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.6336, allocations: 259.6 kB / 1.17 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.6542, allocations: 13.84 MB / 1.184 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.6559, allocations: 91.97 kB / 1.184 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.6563, allocations: 60 kB / 1.184 GB, free: 14.64 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.6588, allocations: 1.115 MB / 1.185 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.6593, allocations: 162.1 kB / 1.185 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/0.6661, allocations: 3.169 MB / 1.188 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6662, allocations: 19.98 kB / 1.188 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.59e-05/0.6662, allocations: 15.94 kB / 1.188 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.6662, allocations: 3.984 kB / 1.188 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.6825, allocations: 6.248 MB / 1.194 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.6826, allocations: 8 kB / 1.194 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/0.6835, allocations: 143.8 kB / 1.194 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/0.688, allocations: 1.084 MB / 1.195 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.6881, allocations: 28 kB / 1.195 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/0.7104, allocations: 13.54 MB / 1.209 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.7105, allocations: 8 kB / 1.209 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008823/0.7193, allocations: 3.154 MB / 1.212 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.7209, allocations: 434.9 kB / 1.212 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/0.7215, allocations: 28 kB / 1.212 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.7231, allocations: 87.83 kB / 1.212 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005886/0.7237, allocations: 120.7 kB / 1.212 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.7239, allocations: 40 kB / 1.212 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001676/0.7256, allocations: 0.7632 MB / 1.213 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7256, allocations: 0 / 1.213 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003564/0.7292, allocations: 0.6602 MB / 1.214 GB, free: 15.12 MB / 0.9825 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008005/0.7372, allocations: 3.744 MB / 1.218 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009523/0.7467, allocations: 3.638 MB / 1.221 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.7468, allocations: 7.984 kB / 1.221 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004962/0.7517, allocations: 1.947 MB / 1.223 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/0.7554, allocations: 0.4936 MB / 1.223 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05804/0.8134, allocations: 21.37 MB / 1.244 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004268/0.8178, allocations: 2.332 MB / 1.247 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002027/0.8198, allocations: 350.1 kB / 1.247 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.8214, allocations: 1.011 MB / 1.248 GB, free: 11.21 MB / 1.014 GB Notification: Performance of SimCode: time 2.484e-06/0.8215, allocations: 0 / 1.248 GB, free: 11.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.759/2.581, allocations: 51.53 MB / 1.298 GB, free: 181.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/2.581, allocations: 249.1 kB / 1.298 GB, free: 181.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.516/7.097, allocations: 2.672 kB / 1.298 GB, free: 181.6 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches