Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.007698/0.007699, allocations: 96.39 kB / 15.73 MB, free: 6 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.001903/0.001903, allocations: 189.3 kB / 16.67 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7426 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 76.09 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.5792/0.8716, allocations: 34.84 MB / 1.254 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.8871, allocations: 11.49 MB / 1.265 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.8901, allocations: 160.4 kB / 1.266 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009297/0.8994, allocations: 4.249 MB / 1.27 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006671/0.9061, allocations: 1.993 MB / 1.272 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006946/0.9131, allocations: 2.409 MB / 1.274 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.925, allocations: 8.459 MB / 1.282 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.9428, allocations: 11.14 MB / 1.293 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/0.9503, allocations: 3.738 MB / 1.297 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008567/0.9589, allocations: 4.191 MB / 1.301 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003206/0.9621, allocations: 0.7791 MB / 1.302 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007527/0.9697, allocations: 2.021 MB / 1.304 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007264/0.977, allocations: 3.059 MB / 1.307 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.9872, allocations: 3.402 MB / 1.31 GB, free: 9.898 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02078/1.008, allocations: 12.01 MB / 1.322 GB, free: 4.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.008, allocations: 1.281 kB / 1.322 GB, free: 4.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.897e-06/1.008, allocations: 4 kB / 1.322 GB, free: 4.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003995/1.008, allocations: 3.938 kB / 1.322 GB, free: 4.699 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01935/1.028, allocations: 5.935 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.028, allocations: 9.906 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003122/1.031, allocations: 0.8057 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007833/1.039, allocations: 1.092 MB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008948/1.048, allocations: 3.464 MB / 1.333 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/1.048, allocations: 413.5 kB / 1.333 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/1.051, allocations: 0.5428 MB / 1.334 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/1.074, allocations: 9.073 MB / 1.343 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/1.074, allocations: 34.62 kB / 1.343 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/1.075, allocations: 241.6 kB / 1.343 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003555/1.076, allocations: 348.7 kB / 1.343 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/1.09, allocations: 6.823 MB / 1.35 GB, free: 3.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04989/1.14, allocations: 39.86 MB / 1.389 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/1.144, allocations: 3.106 MB / 1.392 GB, free: 4.418 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/1.147, allocations: 1.993 MB / 1.394 GB, free: 2.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/1.147, allocations: 22 kB / 1.394 GB, free: 2.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/1.147, allocations: 48.56 kB / 1.394 GB, free: 2.355 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 5.039e-06/1.147, allocations: 3.938 kB / 1.394 GB, free: 2.352 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02517/1.172, allocations: 10.06 MB / 1.404 GB, free: 8.203 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.172, allocations: 69.41 kB / 1.404 GB, free: 8.121 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.174, allocations: 1.534 MB / 1.405 GB, free: 6.543 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/1.175, allocations: 53.7 kB / 1.405 GB, free: 6.484 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.176, allocations: 2.316 MB / 1.407 GB, free: 4.145 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006318/1.177, allocations: 0.6623 MB / 1.408 GB, free: 3.477 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006505/1.177, allocations: 420.1 kB / 1.408 GB, free: 3.059 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.178, allocations: 305.1 kB / 1.409 GB, free: 2.758 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.179, allocations: 1.176 MB / 1.41 GB, free: 1.578 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.182, allocations: 1.885 MB / 1.412 GB, free: 15.38 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/1.186, allocations: 3.367 MB / 1.415 GB, free: 11.7 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.186, allocations: 8 kB / 1.415 GB, free: 11.69 MB / 1.107 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007754/1.194, allocations: 4.586 MB / 1.42 GB, free: 7.078 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.194, allocations: 16.06 kB / 1.42 GB, free: 7.062 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/1.194, allocations: 27.98 kB / 1.42 GB, free: 7.035 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/1.197, allocations: 1.579 MB / 1.421 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.199, allocations: 351.3 kB / 1.421 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.223, allocations: 18.61 MB / 1.44 GB, free: 1.938 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.225, allocations: 115.9 kB / 1.44 GB, free: 1.824 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/1.225, allocations: 99.98 kB / 1.44 GB, free: 1.727 MB / 1.123 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003505/1.229, allocations: 1.895 MB / 1.442 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/1.229, allocations: 234.5 kB / 1.442 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/1.236, allocations: 4.098 MB / 1.446 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.236, allocations: 16 kB / 1.446 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.236, allocations: 20 kB / 1.446 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.236, allocations: 15.89 kB / 1.446 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.252, allocations: 9.457 MB / 1.455 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.252, allocations: 4 kB / 1.455 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/1.253, allocations: 183.7 kB / 1.455 GB, free: 1.516 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003491/1.256, allocations: 1.351 MB / 1.457 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.256, allocations: 36 kB / 1.457 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/1.279, allocations: 17.37 MB / 1.474 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.279, allocations: 4.5 kB / 1.474 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007032/1.286, allocations: 4.095 MB / 1.478 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.287, allocations: 0.5346 MB / 1.478 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.287, allocations: 36 kB / 1.478 GB, free: 9.418 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/1.288, allocations: 91.89 kB / 1.478 GB, free: 9.328 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.289, allocations: 161.7 kB / 1.479 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.289, allocations: 48 kB / 1.479 GB, free: 9.121 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001407/1.29, allocations: 1.008 MB / 1.48 GB, free: 8.09 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.29, allocations: 3.938 kB / 1.48 GB, free: 8.086 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003169/1.294, allocations: 0.9844 MB / 1.481 GB, free: 7.102 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/1.301, allocations: 4.684 MB / 1.485 GB, free: 2.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007014/1.308, allocations: 4.307 MB / 1.489 GB, free: 13.96 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.308, allocations: 0 / 1.489 GB, free: 13.96 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.312, allocations: 2.689 MB / 1.492 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.316, allocations: 0.7777 MB / 1.493 GB, free: 10.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/1.36, allocations: 26.98 MB / 1.519 GB, free: 14.41 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/1.365, allocations: 3.573 MB / 1.523 GB, free: 10.8 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001424/1.367, allocations: 467.9 kB / 1.523 GB, free: 10.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/1.369, allocations: 1.784 MB / 1.525 GB, free: 8.559 MB / 1.217 GB Notification: Performance of SimCode: time 7.92e-07/1.369, allocations: 0 / 1.525 GB, free: 8.559 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.504, allocations: 73.92 MB / 1.597 GB, free: 15.33 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.77, allocations: 22.78 kB / 1.597 GB, free: 15.31 MB / 1.295 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches