Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.007517/0.007517, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001749/0.001749, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.83 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03316/0.3121, allocations: 30.79 MB / 1.237 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5955/0.9076, allocations: 13.56 MB / 1.251 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.9108, allocations: 144.7 kB / 1.251 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007529/0.9184, allocations: 3.198 MB / 1.254 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.9263, allocations: 2.655 MB / 1.256 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.9316, allocations: 2.023 MB / 1.258 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009859/0.9414, allocations: 7.619 MB / 1.266 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.9548, allocations: 8.236 MB / 1.274 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.9612, allocations: 3.461 MB / 1.277 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006287/0.9675, allocations: 3.387 MB / 1.281 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.9699, allocations: 0.5994 MB / 1.281 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.9749, allocations: 1.494 MB / 1.283 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004415/0.9793, allocations: 2.361 MB / 1.285 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007484/0.9868, allocations: 2.884 MB / 1.288 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/1.002, allocations: 9.461 MB / 1.297 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.002, allocations: 0 / 1.297 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.002, allocations: 1.375 kB / 1.297 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003251/1.002, allocations: 4 kB / 1.297 GB, free: 1.473 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01734/1.019, allocations: 5.133 MB / 1.302 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.019, allocations: 10.66 kB / 1.302 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002448/1.022, allocations: 0.6218 MB / 1.303 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007368/1.029, allocations: 0.9964 MB / 1.304 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009532/1.039, allocations: 3.079 MB / 1.307 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/1.039, allocations: 316 kB / 1.307 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/1.041, allocations: 419.5 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/1.06, allocations: 6.797 MB / 1.314 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/1.061, allocations: 19.84 kB / 1.314 GB, free: 8.984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/1.062, allocations: 183.3 kB / 1.314 GB, free: 8.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009928/1.063, allocations: 368.6 kB / 1.314 GB, free: 8.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/1.075, allocations: 5.114 MB / 1.319 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/1.129, allocations: 30.53 MB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/1.134, allocations: 1.382 MB / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/1.137, allocations: 1.328 MB / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/1.137, allocations: 17.52 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/1.137, allocations: 60.86 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 5.4e-06/1.137, allocations: 0 / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.1102/1.247, allocations: 23.07 MB / 1.375 GB, free: 4.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.248, allocations: 77.41 kB / 1.375 GB, free: 4.625 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/1.251, allocations: 2.066 MB / 1.377 GB, free: 2.543 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.251, allocations: 57.7 kB / 1.377 GB, free: 2.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.252, allocations: 2.002 MB / 1.379 GB, free: 472 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/1.253, allocations: 0.6801 MB / 1.379 GB, free: 15.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/1.254, allocations: 408.2 kB / 1.38 GB, free: 15.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/1.254, allocations: 311.2 kB / 1.38 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.256, allocations: 1.433 MB / 1.381 GB, free: 13.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/1.259, allocations: 2.002 MB / 1.383 GB, free: 11.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.263, allocations: 3.702 MB / 1.387 GB, free: 7.449 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.263, allocations: 8 kB / 1.387 GB, free: 7.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01048/1.274, allocations: 5.656 MB / 1.393 GB, free: 1.719 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/1.274, allocations: 12 kB / 1.393 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/1.274, allocations: 20 kB / 1.393 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/1.28, allocations: 2.093 MB / 1.395 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.282, allocations: 371.4 kB / 1.395 GB, free: 15.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03811/1.32, allocations: 38.44 MB / 1.432 GB, free: 6.266 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.323, allocations: 136 kB / 1.433 GB, free: 6.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005166/1.323, allocations: 88 kB / 1.433 GB, free: 6.047 MB / 1.123 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.003423/1.327, allocations: 1.5 MB / 1.434 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007811/1.328, allocations: 288.7 kB / 1.434 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.338, allocations: 5.215 MB / 1.44 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.338, allocations: 19.94 kB / 1.44 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-05/1.338, allocations: 20 kB / 1.44 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.338, allocations: 7.969 kB / 1.44 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.357, allocations: 9.675 MB / 1.449 GB, free: 5.062 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.357, allocations: 4 kB / 1.449 GB, free: 5.059 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/1.358, allocations: 219.6 kB / 1.449 GB, free: 4.844 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/1.363, allocations: 1.84 MB / 1.451 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.363, allocations: 43.94 kB / 1.451 GB, free: 2.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03544/1.399, allocations: 37.45 MB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.399, allocations: 11.94 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009235/1.408, allocations: 4.904 MB / 1.492 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.41, allocations: 0.6147 MB / 1.493 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007539/1.411, allocations: 47.98 kB / 1.493 GB, free: 5.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.413, allocations: 131.8 kB / 1.493 GB, free: 5.102 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/1.413, allocations: 189.6 kB / 1.493 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.413, allocations: 59.94 kB / 1.493 GB, free: 4.859 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00221/1.416, allocations: 1.378 MB / 1.495 GB, free: 3.473 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.51e-07/1.416, allocations: 0 / 1.495 GB, free: 3.473 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003847/1.419, allocations: 1.047 MB / 1.496 GB, free: 2.426 MB / 1.186 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.009196/1.429, allocations: 5.529 MB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009821/1.438, allocations: 6.297 MB / 1.507 GB, free: 6.211 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.438, allocations: 4 kB / 1.507 GB, free: 6.207 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.006398/1.445, allocations: 4.402 MB / 1.512 GB, free: 1.582 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/1.45, allocations: 0.9835 MB / 1.513 GB, free: 0.625 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0546/1.505, allocations: 30.64 MB / 1.543 GB, free: 0.9766 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004429/1.509, allocations: 3.133 MB / 1.546 GB, free: 13.81 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002072/1.511, allocations: 0.5198 MB / 1.546 GB, free: 13.29 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/1.514, allocations: 1.675 MB / 1.548 GB, free: 11.61 MB / 1.248 GB Notification: Performance of SimCode: time 1.202e-06/1.514, allocations: 0 / 1.548 GB, free: 11.61 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.675, allocations: 89.55 MB / 1.635 GB, free: 3.246 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.8, allocations: 18.12 kB / 1.635 GB, free: 3.234 MB / 1.326 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches