Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.005827/0.005827, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001397/0.001397, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.83 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2743, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03113/0.3054, allocations: 26.67 MB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5516/0.8571, allocations: 8.046 MB / 1.254 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.8593, allocations: 120.2 kB / 1.254 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006149/0.8655, allocations: 2.761 MB / 1.257 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.87, allocations: 1.581 MB / 1.258 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.8746, allocations: 1.679 MB / 1.26 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007223/0.8818, allocations: 6.143 MB / 1.266 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.8911, allocations: 7.331 MB / 1.273 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.8952, allocations: 2.567 MB / 1.276 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.8991, allocations: 2.837 MB / 1.279 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009243/0.9, allocations: 0.5086 MB / 1.279 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.9027, allocations: 1.284 MB / 1.28 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.9048, allocations: 2.046 MB / 1.282 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003236/0.908, allocations: 2.384 MB / 1.285 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.9184, allocations: 8.077 MB / 1.292 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9184, allocations: 2.047 kB / 1.292 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9184, allocations: 0 / 1.292 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002156/0.9186, allocations: 0 / 1.292 GB, free: 1.102 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01099/0.9296, allocations: 4.339 MB / 1.297 GB, free: 14.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9297, allocations: 9.531 kB / 1.297 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001378/0.9311, allocations: 0.5378 MB / 1.297 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.9362, allocations: 0.8146 MB / 1.298 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.942, allocations: 2.595 MB / 1.301 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.9422, allocations: 274 kB / 1.301 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.9433, allocations: 377 kB / 1.301 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.9551, allocations: 5.989 MB / 1.307 GB, free: 9.988 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.9552, allocations: 20.17 kB / 1.307 GB, free: 9.977 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005425/0.9558, allocations: 159 kB / 1.307 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000574/0.9563, allocations: 282.1 kB / 1.307 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008344/0.9647, allocations: 4.527 MB / 1.312 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.9975, allocations: 27.5 MB / 1.339 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.9992, allocations: 1.12 MB / 1.34 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1, allocations: 1.02 MB / 1.341 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/1.001, allocations: 12.16 kB / 1.341 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.001, allocations: 44.91 kB / 1.341 GB, free: 13.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 2.795e-06/1.001, allocations: 0 / 1.341 GB, free: 13.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.02174/1.022, allocations: 9.726 MB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.022, allocations: 73.14 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.024, allocations: 1.491 MB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.025, allocations: 46.8 kB / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.026, allocations: 1.715 MB / 1.354 GB, free: 5.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/1.026, allocations: 0.4907 MB / 1.354 GB, free: 5.391 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/1.027, allocations: 325.4 kB / 1.354 GB, free: 5.203 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.027, allocations: 307.7 kB / 1.355 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.028, allocations: 0.9151 MB / 1.356 GB, free: 4.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.03, allocations: 1.464 MB / 1.357 GB, free: 3.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/1.033, allocations: 2.557 MB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.033, allocations: 4.844 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005914/1.039, allocations: 3.293 MB / 1.363 GB, free: 14.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.039, allocations: 16.98 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.039, allocations: 16 kB / 1.363 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/1.041, allocations: 0.7412 MB / 1.364 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.043, allocations: 383.4 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.06, allocations: 17.05 MB / 1.381 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.062, allocations: 95.91 kB / 1.381 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.062, allocations: 75.98 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002421/1.065, allocations: 1.317 MB / 1.382 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/1.065, allocations: 206.7 kB / 1.382 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/1.071, allocations: 2.792 MB / 1.385 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.071, allocations: 12 kB / 1.385 GB, free: 6.902 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.071, allocations: 4 kB / 1.385 GB, free: 6.898 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.071, allocations: 11.98 kB / 1.385 GB, free: 6.887 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.082, allocations: 6.217 MB / 1.391 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.082, allocations: 4 kB / 1.391 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.083, allocations: 231.7 kB / 1.391 GB, free: 308 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/1.085, allocations: 0.6676 MB / 1.392 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.085, allocations: 35.98 kB / 1.392 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.101, allocations: 16.79 MB / 1.408 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.102, allocations: 15.88 kB / 1.408 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/1.108, allocations: 4.009 MB / 1.412 GB, free: 9.395 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/1.109, allocations: 463.7 kB / 1.413 GB, free: 8.922 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.109, allocations: 43.83 kB / 1.413 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009147/1.11, allocations: 79.89 kB / 1.413 GB, free: 8.801 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.111, allocations: 116.7 kB / 1.413 GB, free: 8.684 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/1.111, allocations: 43.94 kB / 1.413 GB, free: 8.641 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001394/1.112, allocations: 0.9942 MB / 1.414 GB, free: 7.656 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.112, allocations: 0 / 1.414 GB, free: 7.656 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002293/1.114, allocations: 0.6836 MB / 1.415 GB, free: 6.973 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006677/1.121, allocations: 4.61 MB / 1.419 GB, free: 2.238 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005437/1.127, allocations: 3.528 MB / 1.423 GB, free: 14.6 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.127, allocations: 0 / 1.423 GB, free: 14.6 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003342/1.13, allocations: 2.3 MB / 1.425 GB, free: 12.19 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/1.133, allocations: 0.6792 MB / 1.425 GB, free: 11.53 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/1.166, allocations: 21.26 MB / 1.446 GB, free: 5.406 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003095/1.17, allocations: 2.672 MB / 1.449 GB, free: 2.703 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001452/1.171, allocations: 493.4 kB / 1.449 GB, free: 2.219 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.173, allocations: 1.28 MB / 1.451 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.173, allocations: 0 / 1.451 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7189/1.892, allocations: 57.21 MB / 1.506 GB, free: 8.492 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.24/28.13, allocations: 12.25 kB / 1.506 GB, free: 8.484 MB / 1.201 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches