Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_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_10_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.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 67.89 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5713, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02165/0.5929, allocations: 20.25 MB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.604, allocations: 6.439 MB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.606, allocations: 87.56 kB / 1.044 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00631/0.6123, allocations: 2.233 MB / 1.046 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.6164, allocations: 1.181 MB / 1.047 GB, free: 4.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/0.6204, allocations: 1.289 MB / 1.048 GB, free: 2.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005381/0.6258, allocations: 4.854 MB / 1.053 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006608/0.6324, allocations: 5.637 MB / 1.058 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.6352, allocations: 2.08 MB / 1.06 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.6383, allocations: 2.34 MB / 1.063 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000879/0.6392, allocations: 428 kB / 1.063 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.6413, allocations: 1.006 MB / 1.064 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.6427, allocations: 1.668 MB / 1.066 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6445, allocations: 1.914 MB / 1.068 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.6496, allocations: 6.474 MB / 1.074 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6496, allocations: 0 / 1.074 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6496, allocations: 0 / 1.074 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001187/0.6497, allocations: 4 kB / 1.074 GB, free: 8.344 MB / 0.8262 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.006301/0.656, allocations: 3.448 MB / 1.077 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6561, allocations: 12.03 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006569/0.6567, allocations: 454.5 kB / 1.078 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.6601, allocations: 0.645 MB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.6634, allocations: 1.928 MB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.6636, allocations: 230.3 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006496/0.6642, allocations: 292.1 kB / 1.081 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009121/0.6734, allocations: 4.89 MB / 1.086 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.583e-05/0.6735, allocations: 15.84 kB / 1.086 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.6738, allocations: 128 kB / 1.086 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004235/0.6742, allocations: 233.7 kB / 1.086 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/0.6805, allocations: 3.754 MB / 1.09 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.7003, allocations: 21.56 MB / 1.111 GB, free: 444 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.702, allocations: 1.309 MB / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.7034, allocations: 1.049 MB / 1.113 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.7034, allocations: 9 kB / 1.113 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.7035, allocations: 51.56 kB / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.7035, allocations: 0 / 1.113 GB, free: 14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02411/0.7276, allocations: 8.649 MB / 1.121 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.7277, allocations: 64.72 kB / 1.121 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.729, allocations: 1.134 MB / 1.123 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.7291, allocations: 49.7 kB / 1.123 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.7298, allocations: 1.296 MB / 1.124 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.7302, allocations: 485 kB / 1.124 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.7307, allocations: 291.3 kB / 1.125 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.7308, allocations: 313 kB / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.732, allocations: 0.9096 MB / 1.126 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.7335, allocations: 1.33 MB / 1.127 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.7364, allocations: 2.43 MB / 1.13 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.7364, allocations: 4 kB / 1.13 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00591/0.7423, allocations: 3.464 MB / 1.133 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.7424, allocations: 9.312 kB / 1.133 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.7424, allocations: 16 kB / 1.133 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.7456, allocations: 1.195 MB / 1.134 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/0.7466, allocations: 259.5 kB / 1.134 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.7632, allocations: 13.84 MB / 1.148 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.7645, allocations: 92.05 kB / 1.148 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7646, allocations: 71.98 kB / 1.148 GB, free: 9.23 MB / 0.9044 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.001521/0.7662, allocations: 1.109 MB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.7664, allocations: 170 kB / 1.149 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.7719, allocations: 3.169 MB / 1.152 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7719, allocations: 12 kB / 1.152 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.7719, allocations: 15.94 kB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7719, allocations: 7.969 kB / 1.152 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/0.7813, allocations: 6.249 MB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.7814, allocations: 4 kB / 1.158 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.782, allocations: 143.8 kB / 1.159 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/0.7848, allocations: 1.074 MB / 1.16 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/0.785, allocations: 28 kB / 1.16 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/0.8012, allocations: 13.56 MB / 1.173 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.8012, allocations: 4 kB / 1.173 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.8064, allocations: 3.15 MB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/0.8072, allocations: 431 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.8074, allocations: 31.94 kB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.8082, allocations: 79.89 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.8086, allocations: 128.7 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.8087, allocations: 39.94 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009574/0.8096, allocations: 0.7671 MB / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8096, allocations: 0 / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001825/0.8115, allocations: 0.6602 MB / 1.178 GB, free: 9.707 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 (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.005202/0.8167, allocations: 3.74 MB / 1.182 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005551/0.8222, allocations: 3.634 MB / 1.185 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.8223, allocations: 4 kB / 1.185 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002849/0.8251, allocations: 1.943 MB / 1.187 GB, free: 212 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.8273, allocations: 0.4936 MB / 1.188 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/0.8549, allocations: 20.1 MB / 1.207 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.8571, allocations: 2.336 MB / 1.21 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001094/0.8582, allocations: 354.1 kB / 1.21 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.8593, allocations: 1.007 MB / 1.211 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/0.8593, allocations: 4 kB / 1.211 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5204/1.38, allocations: 51.44 MB / 1.261 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/11.36, allocations: 18.55 kB / 1.261 GB, free: 217.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches