Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.006967/0.006967, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001609/0.001609, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7576, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03458/0.7922, allocations: 33.35 MB / 1.199 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.8139, allocations: 14.82 MB / 1.213 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.817, allocations: 155.2 kB / 1.213 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009281/0.8264, allocations: 3.655 MB / 1.217 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008531/0.8349, allocations: 2.883 MB / 1.22 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.8413, allocations: 2.329 MB / 1.222 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.852, allocations: 8.817 MB / 1.231 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.8647, allocations: 9.572 MB / 1.24 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.8707, allocations: 3.961 MB / 1.244 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005987/0.8767, allocations: 4.03 MB / 1.248 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.8788, allocations: 0.7225 MB / 1.248 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.8836, allocations: 1.716 MB / 1.25 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004359/0.888, allocations: 2.826 MB / 1.253 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008048/0.8961, allocations: 3.388 MB / 1.256 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.9112, allocations: 11.18 MB / 1.267 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.9112, allocations: 0 / 1.267 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9113, allocations: 4 kB / 1.267 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005206/0.9118, allocations: 0 / 1.267 GB, free: 11.96 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0175/0.9293, allocations: 5.991 MB / 1.273 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.9294, allocations: 12.92 kB / 1.273 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002688/0.9321, allocations: 0.7271 MB / 1.274 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/0.94, allocations: 1.138 MB / 1.275 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008412/0.9484, allocations: 3.516 MB / 1.278 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.9488, allocations: 386.4 kB / 1.279 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.9504, allocations: 495.9 kB / 1.279 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.968, allocations: 8.005 MB / 1.287 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002277/0.9682, allocations: 15.84 kB / 1.287 GB, free: 7.238 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.9695, allocations: 216 kB / 1.287 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.9707, allocations: 445.5 kB / 1.288 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.9827, allocations: 6.077 MB / 1.293 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04606/1.029, allocations: 34.89 MB / 1.328 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/1.032, allocations: 2.022 MB / 1.33 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/1.034, allocations: 1.869 MB / 1.331 GB, free: 6.535 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/1.035, allocations: 18 kB / 1.331 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/1.035, allocations: 72.44 kB / 1.331 GB, free: 6.438 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.436e-06/1.035, allocations: 0 / 1.331 GB, free: 6.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1569/1.192, allocations: 38.89 MB / 1.369 GB, free: 15.44 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.192, allocations: 77.58 kB / 1.37 GB, free: 15.35 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/1.196, allocations: 2.282 MB / 1.372 GB, free: 13.05 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004277/1.196, allocations: 73.7 kB / 1.372 GB, free: 12.97 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/1.198, allocations: 2.272 MB / 1.374 GB, free: 10.67 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/1.198, allocations: 0.9357 MB / 1.375 GB, free: 9.723 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.2, allocations: 0.5061 MB / 1.375 GB, free: 9.207 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.2, allocations: 305.1 kB / 1.376 GB, free: 8.906 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.203, allocations: 1.977 MB / 1.378 GB, free: 6.926 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/1.206, allocations: 2.603 MB / 1.38 GB, free: 4.078 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006645/1.213, allocations: 4.929 MB / 1.385 GB, free: 14.88 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/1.213, allocations: 12 kB / 1.385 GB, free: 14.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01497/1.228, allocations: 7.746 MB / 1.393 GB, free: 7.047 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/1.228, allocations: 12 kB / 1.393 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/1.228, allocations: 19.94 kB / 1.393 GB, free: 7.016 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009497/1.237, allocations: 3.21 MB / 1.396 GB, free: 3.789 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.239, allocations: 415.2 kB / 1.396 GB, free: 3.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04508/1.284, allocations: 33.87 MB / 1.429 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.287, allocations: 163.8 kB / 1.429 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/1.287, allocations: 108 kB / 1.429 GB, free: 404 kB / 1.154 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003105/1.291, allocations: 1.801 MB / 1.431 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007802/1.291, allocations: 332.1 kB / 1.432 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.306, allocations: 7.345 MB / 1.439 GB, free: 6.828 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.306, allocations: 28 kB / 1.439 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-05/1.306, allocations: 39.92 kB / 1.439 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/1.306, allocations: 11.95 kB / 1.439 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.33, allocations: 12.92 MB / 1.451 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/1.33, allocations: 8 kB / 1.451 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.331, allocations: 235.7 kB / 1.452 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008352/1.34, allocations: 2.849 MB / 1.454 GB, free: 6.543 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/1.34, allocations: 56 kB / 1.455 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04325/1.383, allocations: 32.66 MB / 1.486 GB, free: 4.965 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.383, allocations: 8 kB / 1.486 GB, free: 4.957 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/1.397, allocations: 6.89 MB / 1.493 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.4, allocations: 0.7783 MB / 1.494 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009326/1.401, allocations: 55.98 kB / 1.494 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.403, allocations: 171.8 kB / 1.494 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009257/1.404, allocations: 249.4 kB / 1.494 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.404, allocations: 76 kB / 1.494 GB, free: 12.51 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002525/1.407, allocations: 1.529 MB / 1.496 GB, free: 10.98 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.407, allocations: 0 / 1.496 GB, free: 10.98 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004278/1.411, allocations: 1.371 MB / 1.497 GB, free: 9.609 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/1.425, allocations: 7.508 MB / 1.505 GB, free: 1.879 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.438, allocations: 6.943 MB / 1.511 GB, free: 10.84 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.438, allocations: 0 / 1.511 GB, free: 10.84 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0081/1.446, allocations: 4.401 MB / 1.516 GB, free: 6.363 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005955/1.452, allocations: 1.126 MB / 1.517 GB, free: 5.277 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6178/2.07, allocations: 39.01 MB / 1.555 GB, free: 354 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/2.074, allocations: 3.648 MB / 1.558 GB, free: 353.2 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001814/2.076, allocations: 0.5584 MB / 1.559 GB, free: 353.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/2.078, allocations: 1.972 MB / 1.561 GB, free: 353.1 MB / 1.279 GB Notification: Performance of SimCode: time 7.01e-07/2.078, allocations: 0 / 1.561 GB, free: 353.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/2.223, allocations: 111.6 MB / 1.67 GB, free: 263.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/17.97, allocations: 19.59 kB / 1.67 GB, free: 263.6 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches