Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001813/0.001813, 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.001933/0.001932, allocations: 193.2 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.321/2.321, allocations: 390.3 MB / 0.6647 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 67.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5918, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.07089/0.6628, allocations: 37.95 MB / 0.9868 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03213/0.695, allocations: 10.99 MB / 0.9975 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005542/0.7005, allocations: 155.3 kB / 0.9977 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.7171, allocations: 4.354 MB / 1.002 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009751/0.7269, allocations: 2.219 MB / 1.004 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008332/0.7352, allocations: 2.174 MB / 1.006 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01653/0.7518, allocations: 9.288 MB / 1.015 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.7683, allocations: 11.36 MB / 1.026 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/0.774, allocations: 3.977 MB / 1.03 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006869/0.7809, allocations: 4.506 MB / 1.035 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002559/0.7835, allocations: 0.8203 MB / 1.035 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.7875, allocations: 1.588 MB / 1.037 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.7908, allocations: 3.146 MB / 1.04 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005128/0.796, allocations: 3.661 MB / 1.044 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.8087, allocations: 12.23 MB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.8088, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8088, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000422/0.8092, allocations: 4 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01856/0.8278, allocations: 6.307 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.8279, allocations: 8.031 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002799/0.8307, allocations: 0.8294 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.8376, allocations: 1.071 MB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009872/0.8475, allocations: 3.431 MB / 1.067 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007221/0.8483, allocations: 423.7 kB / 1.067 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/0.8516, allocations: 0.5394 MB / 1.068 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/0.8763, allocations: 9.377 MB / 1.077 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/0.8766, allocations: 23.81 kB / 1.077 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.8784, allocations: 248 kB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007824/0.8791, allocations: 426.9 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.8948, allocations: 7.123 MB / 1.085 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.9501, allocations: 41.31 MB / 1.125 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0054/0.9556, allocations: 3.1 MB / 1.128 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.959, allocations: 2.141 MB / 1.13 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.9592, allocations: 26 kB / 1.13 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/0.9593, allocations: 64.5 kB / 1.13 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 7.674e-06/0.9593, allocations: 0 / 1.13 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02675/0.9861, allocations: 10.56 MB / 1.141 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.9862, allocations: 73.41 kB / 1.141 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/0.9905, allocations: 2.005 MB / 1.143 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.9908, allocations: 65.7 kB / 1.143 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.9926, allocations: 2.396 MB / 1.145 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009683/0.9936, allocations: 0.7357 MB / 1.146 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.9947, allocations: 473.2 kB / 1.146 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9948, allocations: 305.1 kB / 1.146 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.9971, allocations: 1.372 MB / 1.148 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.9999, allocations: 2.108 MB / 1.15 GB, free: 15.74 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/1.005, allocations: 3.766 MB / 1.154 GB, free: 11.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.005, allocations: 8 kB / 1.154 GB, free: 11.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008847/1.014, allocations: 5.065 MB / 1.158 GB, free: 6.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/1.014, allocations: 20.03 kB / 1.159 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/1.014, allocations: 20 kB / 1.159 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/1.018, allocations: 1.597 MB / 1.16 GB, free: 4.918 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.02, allocations: 451.2 kB / 1.161 GB, free: 4.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/1.045, allocations: 18.59 MB / 1.179 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.047, allocations: 143.9 kB / 1.179 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/1.048, allocations: 112 kB / 1.179 GB, free: 1.078 MB / 0.9356 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004084/1.052, allocations: 1.941 MB / 1.181 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000904/1.053, allocations: 288.6 kB / 1.181 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/1.061, allocations: 4.447 MB / 1.185 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.061, allocations: 24 kB / 1.185 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/1.061, allocations: 16 kB / 1.185 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.061, allocations: 15.89 kB / 1.185 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.081, allocations: 9.672 MB / 1.195 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.081, allocations: 4.562 kB / 1.195 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.082, allocations: 239.6 kB / 1.195 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.085, allocations: 1.43 MB / 1.197 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/1.086, allocations: 36 kB / 1.197 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/1.109, allocations: 18.58 MB / 1.215 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.109, allocations: 11.94 kB / 1.215 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/1.118, allocations: 4.541 MB / 1.219 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/1.12, allocations: 0.6344 MB / 1.22 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008772/1.121, allocations: 44.23 kB / 1.22 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.123, allocations: 123.8 kB / 1.22 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/1.123, allocations: 181.6 kB / 1.22 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.124, allocations: 67.98 kB / 1.22 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002661/1.126, allocations: 1.311 MB / 1.221 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.126, allocations: 0 / 1.221 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00423/1.131, allocations: 1.141 MB / 1.223 GB, free: 3.465 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007799/1.138, allocations: 5.165 MB / 1.228 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.149, allocations: 5.905 MB / 1.233 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.149, allocations: 4 kB / 1.233 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.154, allocations: 2.914 MB / 1.236 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005297/1.159, allocations: 0.8862 MB / 1.237 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6003/1.759, allocations: 33.62 MB / 1.27 GB, free: 271.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004087/1.764, allocations: 3.697 MB / 1.274 GB, free: 270.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002154/1.766, allocations: 0.5547 MB / 1.274 GB, free: 270 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/1.767, allocations: 1.947 MB / 1.276 GB, free: 268.4 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.767, allocations: 1.094 kB / 1.276 GB, free: 268.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.885, allocations: 85.69 MB / 1.36 GB, free: 200.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/12.68, allocations: 7.562 kB / 1.36 GB, free: 200.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches