Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_RLC,fileNamePrefix="Buildings_latest_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_latest_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.00119/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00122/0.00122, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.23 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2592, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03485/0.2941, allocations: 37.25 MB / 1.089 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3132, allocations: 13.02 MB / 1.101 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004654/0.3179, allocations: 155.1 kB / 1.101 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009017/0.327, allocations: 3.608 MB / 1.105 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.3328, allocations: 2.349 MB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.3384, allocations: 2.482 MB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.3504, allocations: 13.35 MB / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01563/0.366, allocations: 11.7 MB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.3713, allocations: 3.409 MB / 1.137 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00641/0.3777, allocations: 4.443 MB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.3795, allocations: 0.4922 MB / 1.142 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.3839, allocations: 1.813 MB / 1.144 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003989/0.3879, allocations: 2.751 MB / 1.147 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005575/0.3935, allocations: 3.266 MB / 1.15 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.4046, allocations: 11.66 MB / 1.161 GB, free: 8.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4046, allocations: 0 / 1.161 GB, free: 8.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4046, allocations: 0 / 1.161 GB, free: 8.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003027/0.4049, allocations: 0 / 1.161 GB, free: 8.078 MB / 0.92 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.01456/0.4195, allocations: 6.354 MB / 1.168 GB, free: 1.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4195, allocations: 19.91 kB / 1.168 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001165/0.4207, allocations: 0.7519 MB / 1.168 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/0.4283, allocations: 1.301 MB / 1.17 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005679/0.434, allocations: 3.564 MB / 1.173 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.4342, allocations: 382.5 kB / 1.173 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007833/0.435, allocations: 0.4924 MB / 1.174 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.4472, allocations: 8.886 MB / 1.183 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.4474, allocations: 39.61 kB / 1.183 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000503/0.4479, allocations: 227.9 kB / 1.183 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.4499, allocations: 0.6265 MB / 1.183 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009575/0.4594, allocations: 7.01 MB / 1.19 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.4972, allocations: 40.33 MB / 1.23 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.5007, allocations: 2.902 MB / 1.233 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.5037, allocations: 2.659 MB / 1.235 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.5039, allocations: 26.09 kB / 1.235 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.5039, allocations: 72.58 kB / 1.235 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.218e-06/0.5039, allocations: 0 / 1.235 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.6934/1.197, allocations: 74.66 MB / 1.308 GB, free: 148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.197, allocations: 98.73 kB / 1.308 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/1.2, allocations: 2.348 MB / 1.311 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005949/1.2, allocations: 97.7 kB / 1.311 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/1.201, allocations: 2.34 MB / 1.313 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008575/1.202, allocations: 1.434 MB / 1.314 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.203, allocations: 0.7215 MB / 1.315 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.239e-05/1.203, allocations: 303.4 kB / 1.315 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.206, allocations: 3.003 MB / 1.318 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/1.21, allocations: 3.843 MB / 1.322 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006873/1.216, allocations: 7.388 MB / 1.329 GB, free: 125.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.217, allocations: 8 kB / 1.329 GB, free: 125.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02175/1.238, allocations: 12.56 MB / 1.341 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.238, allocations: 16 kB / 1.341 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.238, allocations: 20 kB / 1.341 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0192/1.258, allocations: 6.024 MB / 1.347 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.259, allocations: 491.2 kB / 1.348 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05904/1.318, allocations: 67.18 MB / 1.413 GB, free: 36.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.322, allocations: 219.8 kB / 1.414 GB, free: 35.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/1.322, allocations: 148 kB / 1.414 GB, free: 35.84 MB / 0.9981 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.002552/1.325, allocations: 1.996 MB / 1.416 GB, free: 33.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.326, allocations: 391.4 kB / 1.416 GB, free: 33.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/1.348, allocations: 12.23 MB / 1.428 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.348, allocations: 43.94 kB / 1.428 GB, free: 21.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/1.348, allocations: 48 kB / 1.428 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.414e-05/1.348, allocations: 23.92 kB / 1.428 GB, free: 20.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03003/1.378, allocations: 19.14 MB / 1.447 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.378, allocations: 8 kB / 1.447 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.38, allocations: 291.5 kB / 1.447 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01865/1.398, allocations: 5.584 MB / 1.453 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/1.399, allocations: 80 kB / 1.453 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07104/1.47, allocations: 64.79 MB / 1.516 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.47, allocations: 8 kB / 1.516 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02729/1.497, allocations: 15.61 MB / 1.531 GB, free: 7.887 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.499, allocations: 1.039 MB / 1.532 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/1.5, allocations: 83.94 kB / 1.532 GB, free: 6.742 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.502, allocations: 219.7 kB / 1.533 GB, free: 6.527 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/1.503, allocations: 398.9 kB / 1.533 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.503, allocations: 108 kB / 1.533 GB, free: 6.031 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001903/1.505, allocations: 1.556 MB / 1.535 GB, free: 4.477 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.505, allocations: 0 / 1.535 GB, free: 4.477 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004446/1.509, allocations: 1.863 MB / 1.536 GB, free: 2.613 MB / 1.092 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.02867/1.538, allocations: 16.3 MB / 1.552 GB, free: 2.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.557, allocations: 12.17 MB / 1.564 GB, free: 5.598 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.557, allocations: 4 kB / 1.564 GB, free: 5.594 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01318/1.57, allocations: 8.347 MB / 1.572 GB, free: 12.94 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.575, allocations: 1.106 MB / 1.573 GB, free: 11.84 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1018/1.677, allocations: 62.7 MB / 1.635 GB, free: 8.996 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004605/1.681, allocations: 4.082 MB / 1.639 GB, free: 4.879 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002555/1.684, allocations: 0.6786 MB / 1.639 GB, free: 4.195 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/1.686, allocations: 2.128 MB / 1.641 GB, free: 2.066 MB / 1.201 GB Notification: Performance of SimCode: time 1.503e-06/1.687, allocations: 0 / 1.641 GB, free: 2.066 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/3.039, allocations: 147.6 MB / 1.785 GB, free: 398.5 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/3.039, allocations: 257.7 kB / 1.786 GB, free: 398.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.696/7.735, allocations: 1.75 kB / 1.786 GB, free: 398.2 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches