Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.001526/0.001526, 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.001749/0.001749, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 76.8 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04416/0.3321, allocations: 41.18 MB / 1.104 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3572, allocations: 15.08 MB / 1.119 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/0.3622, allocations: 191.1 kB / 1.119 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.3739, allocations: 4.46 MB / 1.123 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008173/0.382, allocations: 2.79 MB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007982/0.3901, allocations: 3.156 MB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.4037, allocations: 11.4 MB / 1.14 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02053/0.4243, allocations: 12.64 MB / 1.152 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008438/0.4327, allocations: 4.791 MB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008854/0.4416, allocations: 5.386 MB / 1.162 GB, free: 9.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003361/0.445, allocations: 0.9492 MB / 1.163 GB, free: 8.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/0.4509, allocations: 2.044 MB / 1.165 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005654/0.4566, allocations: 3.695 MB / 1.169 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008843/0.4655, allocations: 4.287 MB / 1.173 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.4829, allocations: 14.19 MB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.483, allocations: 3.984 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.483, allocations: 0 / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004396/0.4834, allocations: 4 kB / 1.187 GB, free: 15.81 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02394/0.5074, allocations: 7.6 MB / 1.194 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5075, allocations: 8.031 kB / 1.194 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003188/0.5107, allocations: 0.8877 MB / 1.195 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.5223, allocations: 1.522 MB / 1.197 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009964/0.5323, allocations: 4.213 MB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/0.5329, allocations: 452.5 kB / 1.201 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003849/0.5368, allocations: 0.5938 MB / 1.202 GB, free: 372 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/0.5634, allocations: 10.69 MB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003709/0.5638, allocations: 31.77 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002333/0.5661, allocations: 263.9 kB / 1.213 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003204/0.5693, allocations: 0.7768 MB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.5877, allocations: 8.557 MB / 1.222 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5846/1.172, allocations: 46.86 MB / 1.267 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00706/1.179, allocations: 4.309 MB / 1.272 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006403/1.186, allocations: 3.7 MB / 1.275 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/1.186, allocations: 36.16 kB / 1.275 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.718e-05/1.186, allocations: 72.75 kB / 1.275 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 7.634e-06/1.186, allocations: 0 / 1.275 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4972/1.684, allocations: 122.8 MB / 1.395 GB, free: 47.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/1.684, allocations: 119.9 kB / 1.395 GB, free: 47.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.688, allocations: 2.685 MB / 1.398 GB, free: 44.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00152/1.689, allocations: 125.6 kB / 1.398 GB, free: 44.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.691, allocations: 2.667 MB / 1.401 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.693, allocations: 1.96 MB / 1.403 GB, free: 39.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/1.695, allocations: 0.917 MB / 1.404 GB, free: 39.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/1.695, allocations: 305.1 kB / 1.404 GB, free: 38.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.699, allocations: 4.083 MB / 1.408 GB, free: 34.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005064/1.705, allocations: 5.011 MB / 1.413 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.716, allocations: 9.855 MB / 1.422 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.716, allocations: 8 kB / 1.422 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03462/1.751, allocations: 17 MB / 1.439 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.751, allocations: 12 kB / 1.439 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.751, allocations: 24 kB / 1.439 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03152/1.782, allocations: 9.145 MB / 1.448 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/1.785, allocations: 0.5326 MB / 1.448 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1097/1.895, allocations: 77.02 MB / 1.524 GB, free: 9.637 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/1.9, allocations: 279.8 kB / 1.524 GB, free: 9.363 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.902, allocations: 188 kB / 1.524 GB, free: 9.18 MB / 1.092 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005903/1.908, allocations: 2.424 MB / 1.527 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/1.91, allocations: 478.4 kB / 1.527 GB, free: 6.273 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04336/1.953, allocations: 16.82 MB / 1.543 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/1.953, allocations: 56 kB / 1.543 GB, free: 5.25 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002106/1.953, allocations: 72 kB / 1.544 GB, free: 5.18 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/1.953, allocations: 31.83 kB / 1.544 GB, free: 5.148 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05925/2.013, allocations: 25.65 MB / 1.569 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.672e-05/2.013, allocations: 8 kB / 1.569 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/2.015, allocations: 319.6 kB / 1.569 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02939/2.044, allocations: 8.333 MB / 1.577 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001187/2.045, allocations: 116.1 kB / 1.577 GB, free: 2.457 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1057/2.151, allocations: 73.88 MB / 1.649 GB, free: 7.031 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/2.151, allocations: 12.09 kB / 1.649 GB, free: 7.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04686/2.198, allocations: 21.58 MB / 1.67 GB, free: 1.086 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004322/2.202, allocations: 1.354 MB / 1.672 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/2.205, allocations: 112 kB / 1.672 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/2.21, allocations: 283.6 kB / 1.672 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002531/2.212, allocations: 0.5221 MB / 1.673 GB, free: 14.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008116/2.213, allocations: 144 kB / 1.673 GB, free: 14.65 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003211/2.216, allocations: 1.776 MB / 1.674 GB, free: 12.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.2e-07/2.216, allocations: 0 / 1.674 GB, free: 12.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008742/2.225, allocations: 2.469 MB / 1.677 GB, free: 10.42 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04546/2.27, allocations: 22.27 MB / 1.699 GB, free: 3.781 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.03623/2.307, allocations: 18.66 MB / 1.717 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/2.307, allocations: 4 kB / 1.717 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01889/2.326, allocations: 9.365 MB / 1.726 GB, free: 7.422 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007348/2.333, allocations: 1.371 MB / 1.727 GB, free: 6.094 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6391/2.972, allocations: 79.85 MB / 1.805 GB, free: 403.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/2.977, allocations: 4.901 MB / 1.81 GB, free: 401.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002796/2.98, allocations: 0.7405 MB / 1.811 GB, free: 401.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00316/2.983, allocations: 2.607 MB / 1.813 GB, free: 399.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.803e-06/2.983, allocations: 0 / 1.813 GB, free: 399.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2426/3.226, allocations: 196.9 MB / 2.006 GB, free: 216 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/17.33, allocations: 5.156 kB / 2.006 GB, free: 216 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches