Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.005609/0.005609, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001463/0.001463, allocations: 204.6 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.722/2.722, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2737, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.5496/0.8234, allocations: 30.78 MB / 1.25 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.84, allocations: 13.58 MB / 1.263 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.8425, allocations: 141.7 kB / 1.264 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006963/0.8496, allocations: 3.19 MB / 1.267 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008/0.8576, allocations: 2.662 MB / 1.269 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.8633, allocations: 2.008 MB / 1.271 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.8751, allocations: 7.622 MB / 1.279 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.8858, allocations: 8.241 MB / 1.287 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007235/0.893, allocations: 3.412 MB / 1.29 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007125/0.9002, allocations: 3.382 MB / 1.293 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002602/0.9028, allocations: 0.5949 MB / 1.294 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.9086, allocations: 1.494 MB / 1.295 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00486/0.9135, allocations: 2.374 MB / 1.298 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007621/0.9212, allocations: 2.88 MB / 1.301 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.9376, allocations: 9.486 MB / 1.31 GB, free: 10.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9376, allocations: 1.125 kB / 1.31 GB, free: 10.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9376, allocations: 0 / 1.31 GB, free: 10.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003049/0.9379, allocations: 0 / 1.31 GB, free: 10.29 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01734/0.9553, allocations: 5.271 MB / 1.315 GB, free: 7.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9553, allocations: 9.375 kB / 1.315 GB, free: 7.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001648/0.957, allocations: 0.6199 MB / 1.316 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.9634, allocations: 1.021 MB / 1.317 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.9705, allocations: 3.097 MB / 1.32 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.9708, allocations: 310.7 kB / 1.32 GB, free: 4.492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.972, allocations: 425.5 kB / 1.32 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.9857, allocations: 6.793 MB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.9859, allocations: 19.05 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005572/0.9864, allocations: 185.3 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009927/0.9874, allocations: 372.5 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.998, allocations: 5.114 MB / 1.333 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04695/1.045, allocations: 30.57 MB / 1.362 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.047, allocations: 1.396 MB / 1.364 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.049, allocations: 1.331 MB / 1.365 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/1.049, allocations: 17.19 kB / 1.365 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/1.049, allocations: 47.88 kB / 1.365 GB, free: 15.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 4.088e-06/1.049, allocations: 0 / 1.365 GB, free: 15.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.09407/1.143, allocations: 23.15 MB / 1.388 GB, free: 8.902 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/1.143, allocations: 69.41 kB / 1.388 GB, free: 8.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/1.146, allocations: 2.066 MB / 1.39 GB, free: 6.738 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003885/1.147, allocations: 61.7 kB / 1.39 GB, free: 6.672 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.148, allocations: 2.059 MB / 1.392 GB, free: 4.594 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008683/1.149, allocations: 0.7087 MB / 1.393 GB, free: 3.879 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008018/1.15, allocations: 412.4 kB / 1.393 GB, free: 3.469 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.15, allocations: 309.1 kB / 1.393 GB, free: 3.164 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.152, allocations: 1.43 MB / 1.395 GB, free: 1.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/1.155, allocations: 2.013 MB / 1.397 GB, free: 15.46 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/1.161, allocations: 3.7 MB / 1.4 GB, free: 11.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.161, allocations: 4 kB / 1.4 GB, free: 11.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01231/1.173, allocations: 5.67 MB / 1.406 GB, free: 5.781 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.173, allocations: 19.92 kB / 1.406 GB, free: 5.762 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.173, allocations: 16 kB / 1.406 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007239/1.18, allocations: 2.08 MB / 1.408 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.182, allocations: 383.3 kB / 1.408 GB, free: 3.234 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04542/1.227, allocations: 38.45 MB / 1.446 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/1.23, allocations: 123.9 kB / 1.446 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/1.231, allocations: 92 kB / 1.446 GB, free: 10.05 MB / 1.139 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002995/1.234, allocations: 1.509 MB / 1.447 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.234, allocations: 298.2 kB / 1.448 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.246, allocations: 5.219 MB / 1.453 GB, free: 2.941 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/1.246, allocations: 20 kB / 1.453 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/1.246, allocations: 16 kB / 1.453 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/1.246, allocations: 11.95 kB / 1.453 GB, free: 2.895 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.265, allocations: 9.681 MB / 1.462 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.265, allocations: 8 kB / 1.462 GB, free: 8.992 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/1.266, allocations: 219.6 kB / 1.463 GB, free: 8.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006157/1.272, allocations: 1.842 MB / 1.464 GB, free: 6.883 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/1.272, allocations: 44 kB / 1.464 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04116/1.313, allocations: 37.47 MB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.313, allocations: 11.94 kB / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009674/1.323, allocations: 4.936 MB / 1.506 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.325, allocations: 0.6241 MB / 1.506 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/1.325, allocations: 43.98 kB / 1.506 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.327, allocations: 131.8 kB / 1.507 GB, free: 8.922 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/1.327, allocations: 189.6 kB / 1.507 GB, free: 8.734 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.327, allocations: 56 kB / 1.507 GB, free: 8.68 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002128/1.33, allocations: 1.382 MB / 1.508 GB, free: 7.289 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/1.33, allocations: 0 / 1.508 GB, free: 7.289 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003833/1.333, allocations: 1.047 MB / 1.509 GB, free: 6.242 MB / 1.201 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009867/1.343, allocations: 5.548 MB / 1.515 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.354, allocations: 6.295 MB / 1.521 GB, free: 10 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.354, allocations: 0.875 kB / 1.521 GB, free: 10 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.006914/1.361, allocations: 4.417 MB / 1.525 GB, free: 5.348 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.365, allocations: 0.9911 MB / 1.526 GB, free: 4.387 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05335/1.418, allocations: 30.79 MB / 1.556 GB, free: 4.547 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003829/1.422, allocations: 3.14 MB / 1.559 GB, free: 1.371 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001771/1.424, allocations: 0.5159 MB / 1.56 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/1.426, allocations: 1.671 MB / 1.561 GB, free: 15.18 MB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/1.426, allocations: 0 / 1.561 GB, free: 15.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3885/1.815, allocations: 88.11 MB / 1.647 GB, free: 8.145 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.33, allocations: 3.75 kB / 1.647 GB, free: 8.141 MB / 1.342 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches