Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.005308/0.005307, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00115/0.00115, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2746, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04094/0.3156, allocations: 37.59 MB / 1.203 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.3373, allocations: 13.04 MB / 1.216 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.3409, allocations: 171.1 kB / 1.216 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.3511, allocations: 3.894 MB / 1.22 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.3587, allocations: 2.62 MB / 1.222 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.3651, allocations: 2.705 MB / 1.225 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.3767, allocations: 9.598 MB / 1.234 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.3883, allocations: 10.49 MB / 1.244 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.3948, allocations: 4.074 MB / 1.248 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6137/1.009, allocations: 4.374 MB / 1.253 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004505/1.013, allocations: 0.7711 MB / 1.253 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007835/1.021, allocations: 1.78 MB / 1.255 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007342/1.028, allocations: 3.03 MB / 1.258 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01145/1.04, allocations: 3.588 MB / 1.262 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02211/1.062, allocations: 11.89 MB / 1.273 GB, free: 23.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.062, allocations: 1.125 kB / 1.273 GB, free: 23.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.062, allocations: 0.6562 kB / 1.273 GB, free: 23.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004318/1.062, allocations: 0 / 1.273 GB, free: 23.53 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02351/1.086, allocations: 6.523 MB / 1.28 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.086, allocations: 10.14 kB / 1.28 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002512/1.089, allocations: 0.7485 MB / 1.28 GB, free: 20.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00907/1.098, allocations: 1.334 MB / 1.282 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008809/1.106, allocations: 3.814 MB / 1.285 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/1.107, allocations: 378.3 kB / 1.286 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/1.109, allocations: 0.4954 MB / 1.286 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/1.127, allocations: 8.89 MB / 1.295 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/1.127, allocations: 27.91 kB / 1.295 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007404/1.128, allocations: 219.7 kB / 1.295 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/1.13, allocations: 0.6317 MB / 1.296 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.145, allocations: 7.016 MB / 1.303 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05259/1.198, allocations: 40.12 MB / 1.342 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/1.202, allocations: 2.888 MB / 1.345 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/1.206, allocations: 2.663 MB / 1.347 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/1.206, allocations: 34.47 kB / 1.347 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/1.206, allocations: 66.78 kB / 1.347 GB, free: 10.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=265): time 6.272e-06/1.206, allocations: 2.406 kB / 1.347 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=424): time 0.3111/1.517, allocations: 74.78 MB / 1.42 GB, free: 8.586 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.517, allocations: 94.73 kB / 1.42 GB, free: 8.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/1.521, allocations: 2.371 MB / 1.423 GB, free: 6.098 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0009092/1.522, allocations: 93.7 kB / 1.423 GB, free: 6 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001894/1.524, allocations: 2.399 MB / 1.425 GB, free: 3.59 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.527, allocations: 1.507 MB / 1.427 GB, free: 2.102 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002438/1.529, allocations: 0.7217 MB / 1.427 GB, free: 1.367 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/1.529, allocations: 305.1 kB / 1.428 GB, free: 1.066 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00484/1.534, allocations: 2.996 MB / 1.431 GB, free: 14.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005601/1.54, allocations: 3.847 MB / 1.434 GB, free: 9.898 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.55, allocations: 7.383 MB / 1.442 GB, free: 2.285 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.55, allocations: 8 kB / 1.442 GB, free: 2.277 MB / 1.107 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03079/1.581, allocations: 12.58 MB / 1.454 GB, free: 5.906 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/1.581, allocations: 16 kB / 1.454 GB, free: 5.891 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/1.581, allocations: 23.94 kB / 1.454 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/1.606, allocations: 6.032 MB / 1.46 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/1.608, allocations: 496 kB / 1.46 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08732/1.695, allocations: 73.04 MB / 1.532 GB, free: 3.289 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.7, allocations: 219.8 kB / 1.532 GB, free: 3.074 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004931/1.7, allocations: 156 kB / 1.532 GB, free: 2.922 MB / 1.201 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00376/1.704, allocations: 1.994 MB / 1.534 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009153/1.705, allocations: 409.5 kB / 1.534 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0292/1.734, allocations: 12.27 MB / 1.546 GB, free: 4.516 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/1.734, allocations: 43.94 kB / 1.546 GB, free: 4.473 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.937e-05/1.734, allocations: 48 kB / 1.546 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.124e-05/1.734, allocations: 19.92 kB / 1.546 GB, free: 4.406 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03981/1.774, allocations: 19.15 MB / 1.565 GB, free: 1.281 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.774, allocations: 8 kB / 1.565 GB, free: 1.273 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.776, allocations: 292.6 kB / 1.565 GB, free: 1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02118/1.797, allocations: 5.572 MB / 1.571 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000633/1.798, allocations: 80 kB / 1.571 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08284/1.88, allocations: 70.67 MB / 1.64 GB, free: 1.578 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/1.881, allocations: 15.62 kB / 1.64 GB, free: 1.566 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03243/1.913, allocations: 15.63 MB / 1.655 GB, free: 1.895 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004283/1.917, allocations: 1.065 MB / 1.656 GB, free: 0.8086 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.918, allocations: 91.92 kB / 1.656 GB, free: 0.7188 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.921, allocations: 215.7 kB / 1.656 GB, free: 0.5078 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001576/1.923, allocations: 407.4 kB / 1.657 GB, free: 120 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/1.923, allocations: 108 kB / 1.657 GB, free: 12 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002281/1.925, allocations: 1.556 MB / 1.658 GB, free: 14.46 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.3e-07/1.925, allocations: 2.812 kB / 1.658 GB, free: 14.46 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.006596/1.932, allocations: 1.859 MB / 1.66 GB, free: 12.6 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03174/1.964, allocations: 16.3 MB / 1.676 GB, free: 12.26 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.0215/1.985, allocations: 12.24 MB / 1.688 GB, free: 15.84 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.985, allocations: 0 / 1.688 GB, free: 15.84 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01601/2.001, allocations: 8.388 MB / 1.696 GB, free: 7.191 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/2.008, allocations: 1.195 MB / 1.698 GB, free: 6.027 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/2.115, allocations: 54.07 MB / 1.75 GB, free: 14.94 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005562/2.12, allocations: 4.083 MB / 1.754 GB, free: 10.82 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002329/2.123, allocations: 0.6708 MB / 1.755 GB, free: 10.14 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/2.125, allocations: 2.132 MB / 1.757 GB, free: 8.008 MB / 1.436 GB Notification: Performance of SimCode: time 1.052e-06/2.125, allocations: 2.719 kB / 1.757 GB, free: 8.008 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8147/2.94, allocations: 150.9 MB / 1.904 GB, free: 462.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/20.93, allocations: 10.27 kB / 1.904 GB, free: 462.7 MB / 1.467 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches