Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_RLC,fileNamePrefix="Buildings_9_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_9_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.001135/0.001135, 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.001132/0.001132, allocations: 194 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.345/2.345, allocations: 390.3 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6587, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04264/0.7014, allocations: 37.59 MB / 0.9864 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.7242, allocations: 13.03 MB / 0.9992 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005248/0.7294, allocations: 171.1 kB / 0.9993 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.7431, allocations: 3.893 MB / 1.003 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009528/0.7526, allocations: 2.483 MB / 1.006 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00951/0.7622, allocations: 2.705 MB / 1.008 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01564/0.7778, allocations: 9.571 MB / 1.018 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01973/0.7976, allocations: 10.63 MB / 1.028 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008077/0.8057, allocations: 3.984 MB / 1.032 GB, free: 13.42 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008831/0.8146, allocations: 4.373 MB / 1.036 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.8166, allocations: 0.7695 MB / 1.037 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/0.8219, allocations: 1.779 MB / 1.039 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004694/0.8266, allocations: 3.037 MB / 1.042 GB, free: 3.438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008157/0.8348, allocations: 3.583 MB / 1.045 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.8532, allocations: 11.78 MB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.8532, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.449e-06/0.8532, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002372/0.8535, allocations: 3.938 kB / 1.057 GB, free: 4.023 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02098/0.8745, allocations: 6.35 MB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8745, allocations: 8.031 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001923/0.8765, allocations: 0.748 MB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.8878, allocations: 1.305 MB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/0.8944, allocations: 3.572 MB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.8947, allocations: 378.5 kB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.8959, allocations: 0.4924 MB / 1.069 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.9114, allocations: 8.886 MB / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.9116, allocations: 35.67 kB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000833/0.9124, allocations: 216 kB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002491/0.9149, allocations: 0.6304 MB / 1.079 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.9277, allocations: 7.01 MB / 1.085 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04902/0.9768, allocations: 40.33 MB / 1.125 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/0.9809, allocations: 2.9 MB / 1.128 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.9846, allocations: 2.663 MB / 1.13 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.9848, allocations: 30.03 kB / 1.13 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.9849, allocations: 72.59 kB / 1.13 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=265): time 4.237e-06/0.9849, allocations: 0 / 1.13 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=424): time 0.3072/1.292, allocations: 74.71 MB / 1.203 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/1.292, allocations: 94.73 kB / 1.203 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/1.296, allocations: 2.363 MB / 1.206 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006503/1.296, allocations: 97.7 kB / 1.206 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.298, allocations: 2.337 MB / 1.208 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.299, allocations: 1.44 MB / 1.21 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/1.301, allocations: 0.7177 MB / 1.21 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/1.301, allocations: 301.1 kB / 1.211 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/1.306, allocations: 3.003 MB / 1.213 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/1.311, allocations: 3.847 MB / 1.217 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.322, allocations: 7.391 MB / 1.224 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.322, allocations: 4 kB / 1.224 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02932/1.351, allocations: 12.55 MB / 1.237 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.351, allocations: 17 kB / 1.237 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.351, allocations: 20 kB / 1.237 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/1.375, allocations: 6.074 MB / 1.243 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.377, allocations: 499.1 kB / 1.243 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4877/1.865, allocations: 73.03 MB / 1.314 GB, free: 235.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.868, allocations: 220.4 kB / 1.315 GB, free: 235.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/1.869, allocations: 157.5 kB / 1.315 GB, free: 235.4 MB / 1.014 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.002508/1.871, allocations: 1.999 MB / 1.317 GB, free: 234.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/1.872, allocations: 398.1 kB / 1.317 GB, free: 234.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02462/1.897, allocations: 12.23 MB / 1.329 GB, free: 229 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.897, allocations: 40.28 kB / 1.329 GB, free: 229 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.792e-05/1.897, allocations: 50.59 kB / 1.329 GB, free: 229 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/1.897, allocations: 19.92 kB / 1.329 GB, free: 228.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0332/1.93, allocations: 19.14 MB / 1.348 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.93, allocations: 8 kB / 1.348 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.931, allocations: 291.5 kB / 1.348 GB, free: 213.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01925/1.951, allocations: 5.619 MB / 1.354 GB, free: 207.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003489/1.951, allocations: 87.94 kB / 1.354 GB, free: 207.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06342/2.014, allocations: 70.65 MB / 1.423 GB, free: 133.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.014, allocations: 11.94 kB / 1.423 GB, free: 133.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/2.041, allocations: 15.61 MB / 1.438 GB, free: 117.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/2.043, allocations: 1.043 MB / 1.439 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/2.043, allocations: 86.73 kB / 1.439 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/2.046, allocations: 227.7 kB / 1.439 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001279/2.047, allocations: 402.2 kB / 1.44 GB, free: 116.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/2.047, allocations: 108 kB / 1.44 GB, free: 116.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001656/2.049, allocations: 1.553 MB / 1.441 GB, free: 114.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/2.049, allocations: 0 / 1.441 GB, free: 114.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004788/2.054, allocations: 1.863 MB / 1.443 GB, free: 112.6 MB / 1.014 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.02631/2.08, allocations: 16.29 MB / 1.459 GB, free: 96.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02369/2.104, allocations: 14.97 MB / 1.474 GB, free: 80.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/2.104, allocations: 0 / 1.474 GB, free: 80.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0129/2.117, allocations: 8.356 MB / 1.482 GB, free: 72.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/2.121, allocations: 1.191 MB / 1.483 GB, free: 71.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08564/2.207, allocations: 60.32 MB / 1.542 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/2.212, allocations: 4.086 MB / 1.546 GB, free: 2.512 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002304/2.214, allocations: 0.663 MB / 1.547 GB, free: 1.844 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/2.216, allocations: 2.132 MB / 1.549 GB, free: 15.71 MB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/2.216, allocations: 0 / 1.549 GB, free: 15.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6426/2.858, allocations: 151.5 MB / 1.697 GB, free: 384.1 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/15.58, allocations: 7.781 kB / 1.697 GB, free: 384.1 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches