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.009076/0.009076, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001911/0.001911, allocations: 185.8 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7624, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04072/0.8032, allocations: 37.61 MB / 1.203 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.8249, allocations: 13.03 MB / 1.216 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.8287, allocations: 171.1 kB / 1.216 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009704/0.8384, allocations: 3.885 MB / 1.22 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.8452, allocations: 2.624 MB / 1.222 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.8515, allocations: 2.707 MB / 1.225 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.8631, allocations: 9.595 MB / 1.234 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/0.877, allocations: 10.5 MB / 1.244 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007242/0.8843, allocations: 4.074 MB / 1.248 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008105/0.8924, allocations: 4.377 MB / 1.253 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002317/0.8948, allocations: 0.7734 MB / 1.253 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.8993, allocations: 1.779 MB / 1.255 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.9033, allocations: 3.033 MB / 1.258 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005642/0.909, allocations: 3.587 MB / 1.262 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.9223, allocations: 11.88 MB / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9223, allocations: 0 / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9223, allocations: 4 kB / 1.273 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003238/0.9226, allocations: 0 / 1.273 GB, free: 5.707 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.01693/0.9396, allocations: 6.526 MB / 1.28 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.9397, allocations: 12.86 kB / 1.28 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001817/0.9415, allocations: 0.748 MB / 1.28 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/0.95, allocations: 1.336 MB / 1.282 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008481/0.9585, allocations: 3.801 MB / 1.285 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.9589, allocations: 386.4 kB / 1.286 GB, free: 8.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.9604, allocations: 0.5002 MB / 1.286 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.9764, allocations: 8.894 MB / 1.295 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.9765, allocations: 19.83 kB / 1.295 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005893/0.9771, allocations: 227.9 kB / 1.295 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.9794, allocations: 0.6304 MB / 1.296 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.9912, allocations: 7.014 MB / 1.303 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04806/1.039, allocations: 40.12 MB / 1.342 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/1.044, allocations: 2.89 MB / 1.345 GB, free: 8.836 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/1.047, allocations: 2.663 MB / 1.347 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/1.048, allocations: 26.09 kB / 1.347 GB, free: 6.137 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/1.048, allocations: 72.59 kB / 1.347 GB, free: 6.055 MB / 1.076 GB Notification: Performance of pre-optimization done (n=265): time 5.44e-06/1.048, allocations: 0 / 1.347 GB, free: 6.055 MB / 1.076 GB Notification: Performance of matching and sorting (n=424): time 0.3008/1.349, allocations: 74.77 MB / 1.42 GB, free: 10.62 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.349, allocations: 98.73 kB / 1.42 GB, free: 10.51 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.353, allocations: 2.371 MB / 1.423 GB, free: 8.129 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008516/1.354, allocations: 97.7 kB / 1.423 GB, free: 8.027 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/1.355, allocations: 2.395 MB / 1.425 GB, free: 5.613 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.357, allocations: 1.514 MB / 1.427 GB, free: 4.086 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/1.36, allocations: 0.7178 MB / 1.427 GB, free: 3.355 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.36, allocations: 309 kB / 1.428 GB, free: 3.051 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.365, allocations: 2.995 MB / 1.431 GB, free: 48 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/1.37, allocations: 3.851 MB / 1.434 GB, free: 11.86 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.381, allocations: 7.38 MB / 1.442 GB, free: 4.156 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/1.381, allocations: 4 kB / 1.442 GB, free: 4.152 MB / 1.17 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03127/1.412, allocations: 12.59 MB / 1.454 GB, free: 7.461 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/1.412, allocations: 12 kB / 1.454 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.437e-05/1.413, allocations: 24.09 kB / 1.454 GB, free: 7.426 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02368/1.436, allocations: 6.026 MB / 1.46 GB, free: 1.332 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.439, allocations: 491.2 kB / 1.46 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08886/1.527, allocations: 73.06 MB / 1.532 GB, free: 4.477 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/1.531, allocations: 219.9 kB / 1.532 GB, free: 4.262 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/1.532, allocations: 156.1 kB / 1.532 GB, free: 4.109 MB / 1.264 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.003988/1.536, allocations: 1.992 MB / 1.534 GB, free: 2.105 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.538, allocations: 413.5 kB / 1.534 GB, free: 1.699 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02853/1.566, allocations: 12.23 MB / 1.546 GB, free: 5.352 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.566, allocations: 43.94 kB / 1.546 GB, free: 5.309 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001414/1.566, allocations: 48 kB / 1.546 GB, free: 5.262 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.258e-05/1.566, allocations: 19.92 kB / 1.546 GB, free: 5.242 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04084/1.607, allocations: 19.14 MB / 1.565 GB, free: 1.832 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.839e-05/1.607, allocations: 8 kB / 1.565 GB, free: 1.824 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.609, allocations: 295.6 kB / 1.565 GB, free: 1.535 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6126/2.222, allocations: 5.564 MB / 1.571 GB, free: 366.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006119/2.222, allocations: 82.25 kB / 1.571 GB, free: 366.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06594/2.288, allocations: 70.66 MB / 1.64 GB, free: 319.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.288, allocations: 11.94 kB / 1.64 GB, free: 319.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/2.315, allocations: 15.64 MB / 1.655 GB, free: 306.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/2.317, allocations: 1.061 MB / 1.656 GB, free: 305.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/2.318, allocations: 80 kB / 1.656 GB, free: 305.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.32, allocations: 213.5 kB / 1.656 GB, free: 305.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.321, allocations: 409.1 kB / 1.657 GB, free: 305 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/2.322, allocations: 111.9 kB / 1.657 GB, free: 304.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00165/2.323, allocations: 1.556 MB / 1.658 GB, free: 303.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/2.323, allocations: 2.844 kB / 1.658 GB, free: 303.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004764/2.328, allocations: 1.863 MB / 1.66 GB, free: 301.5 MB / 1.295 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.02607/2.354, allocations: 16.3 MB / 1.676 GB, free: 284.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.371, allocations: 12.23 MB / 1.688 GB, free: 272.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/2.372, allocations: 4 kB / 1.688 GB, free: 272.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01302/2.385, allocations: 8.392 MB / 1.696 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006118/2.391, allocations: 1.186 MB / 1.697 GB, free: 262.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08535/2.476, allocations: 54.07 MB / 1.75 GB, free: 207 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003756/2.48, allocations: 4.079 MB / 1.754 GB, free: 202.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001966/2.482, allocations: 0.6708 MB / 1.755 GB, free: 202.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/2.484, allocations: 2.132 MB / 1.757 GB, free: 200.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/2.484, allocations: 0 / 1.757 GB, free: 200.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/2.742, allocations: 150.9 MB / 1.904 GB, free: 50.42 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/20.9, allocations: 19.91 kB / 1.904 GB, free: 50.4 MB / 1.295 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