Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_L_N,fileNamePrefix="Buildings_10_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_10_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.006927/0.006927, allocations: 104.4 kB / 15.74 MB, free: 6.445 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.001417/0.001417, allocations: 193.4 kB / 16.67 MB, free: 6.355 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.631/2.631, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04089/0.3593, allocations: 34.83 MB / 1.2 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.38, allocations: 11.5 MB / 1.211 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.384, allocations: 167.1 kB / 1.212 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.3953, allocations: 4.257 MB / 1.216 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.4025, allocations: 2.092 MB / 1.218 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006554/0.4091, allocations: 2.412 MB / 1.22 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.4193, allocations: 8.479 MB / 1.228 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01637/0.4357, allocations: 11.12 MB / 1.239 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.4426, allocations: 3.802 MB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.4497, allocations: 4.187 MB / 1.247 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.4521, allocations: 0.7773 MB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.4575, allocations: 2.028 MB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.725/1.183, allocations: 3.05 MB / 1.253 GB, free: 27.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009859/1.192, allocations: 3.402 MB / 1.256 GB, free: 27.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02236/1.215, allocations: 11.97 MB / 1.268 GB, free: 26.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.215, allocations: 2.078 kB / 1.268 GB, free: 26.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.594e-06/1.215, allocations: 0.5312 kB / 1.268 GB, free: 26.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006298/1.216, allocations: 2.438 kB / 1.268 GB, free: 26.68 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.03477/1.25, allocations: 5.81 MB / 1.273 GB, free: 24.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.25, allocations: 10.22 kB / 1.274 GB, free: 24.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005599/1.256, allocations: 0.8046 MB / 1.274 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.266, allocations: 1.058 MB / 1.275 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/1.277, allocations: 3.453 MB / 1.279 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006264/1.278, allocations: 412.5 kB / 1.279 GB, free: 23.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004398/1.282, allocations: 0.5424 MB / 1.28 GB, free: 23.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.316, allocations: 9.084 MB / 1.288 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004424/1.317, allocations: 25.22 kB / 1.289 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004254/1.321, allocations: 237 kB / 1.289 GB, free: 22.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006429/1.322, allocations: 352.3 kB / 1.289 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.343, allocations: 6.822 MB / 1.296 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05177/1.395, allocations: 39.8 MB / 1.335 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/1.4, allocations: 3.104 MB / 1.338 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/1.404, allocations: 1.984 MB / 1.34 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/1.404, allocations: 19 kB / 1.34 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.404, allocations: 58.47 kB / 1.34 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=179): time 4.258e-06/1.404, allocations: 0 / 1.34 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=182): time 0.02586/1.43, allocations: 9.978 MB / 1.349 GB, free: 9.863 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.43, allocations: 70.12 kB / 1.349 GB, free: 9.797 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/1.432, allocations: 1.528 MB / 1.351 GB, free: 8.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.432, allocations: 56.77 kB / 1.351 GB, free: 8.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/1.434, allocations: 2.256 MB / 1.353 GB, free: 6.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007096/1.435, allocations: 0.6308 MB / 1.354 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006582/1.435, allocations: 405.2 kB / 1.354 GB, free: 6.129 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/1.435, allocations: 308.5 kB / 1.355 GB, free: 5.828 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/1.437, allocations: 1.173 MB / 1.356 GB, free: 5.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.439, allocations: 1.889 MB / 1.357 GB, free: 3.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/1.443, allocations: 3.372 MB / 1.361 GB, free: 1.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/1.443, allocations: 6.562 kB / 1.361 GB, free: 1.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007173/1.45, allocations: 4.577 MB / 1.365 GB, free: 15.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.45, allocations: 15.41 kB / 1.365 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.45, allocations: 22.81 kB / 1.365 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/1.453, allocations: 1.584 MB / 1.367 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.455, allocations: 351.4 kB / 1.367 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.478, allocations: 18.58 MB / 1.385 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/1.481, allocations: 115.9 kB / 1.385 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006403/1.481, allocations: 104 kB / 1.386 GB, free: 14.34 MB / 1.061 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.005329/1.487, allocations: 1.895 MB / 1.387 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008564/1.488, allocations: 225.4 kB / 1.388 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007721/1.495, allocations: 4.091 MB / 1.392 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/1.495, allocations: 16 kB / 1.392 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/1.495, allocations: 23.28 kB / 1.392 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/1.496, allocations: 11.95 kB / 1.392 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.517, allocations: 9.457 MB / 1.401 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/1.517, allocations: 4 kB / 1.401 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/1.518, allocations: 187 kB / 1.401 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/1.522, allocations: 1.35 MB / 1.402 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/1.522, allocations: 40 kB / 1.402 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/1.544, allocations: 17.35 MB / 1.419 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.544, allocations: 6.25 kB / 1.419 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007671/1.551, allocations: 4.069 MB / 1.423 GB, free: 6.992 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.553, allocations: 0.5295 MB / 1.424 GB, free: 6.441 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/1.554, allocations: 32 kB / 1.424 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.555, allocations: 87.89 kB / 1.424 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000578/1.556, allocations: 167.2 kB / 1.424 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.556, allocations: 48 kB / 1.424 GB, free: 6.117 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001917/1.558, allocations: 1.005 MB / 1.425 GB, free: 5.09 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.334e-06/1.558, allocations: 0 / 1.425 GB, free: 5.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004427/1.562, allocations: 0.9882 MB / 1.426 GB, free: 4.102 MB / 1.092 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.00739/1.57, allocations: 4.671 MB / 1.431 GB, free: 15.41 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007876/1.578, allocations: 4.295 MB / 1.435 GB, free: 11.13 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.578, allocations: 0 / 1.435 GB, free: 11.13 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005349/1.583, allocations: 2.67 MB / 1.437 GB, free: 8.441 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/1.589, allocations: 0.7812 MB / 1.438 GB, free: 7.707 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06071/1.65, allocations: 26.84 MB / 1.464 GB, free: 12.03 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008891/1.659, allocations: 3.573 MB / 1.468 GB, free: 8.422 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002049/1.661, allocations: 463.9 kB / 1.468 GB, free: 7.965 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/1.665, allocations: 1.784 MB / 1.47 GB, free: 6.18 MB / 1.139 GB Notification: Performance of SimCode: time 1.884e-06/1.665, allocations: 4 kB / 1.47 GB, free: 6.176 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.8, allocations: 73.93 MB / 1.542 GB, free: 13.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/15.06, allocations: 7.609 kB / 1.542 GB, free: 13.15 MB / 1.217 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches