Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001834/0.001834, allocations: 112.5 kB / 15.73 MB, free: 76 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.00204/0.00204, allocations: 190.5 kB / 16.67 MB, free: 6.582 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.83 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2776, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02566/0.3033, allocations: 14.79 MB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.3247, allocations: 10.36 MB / 1.245 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3262, allocations: 59.62 kB / 1.245 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005549/0.3318, allocations: 1.68 MB / 1.246 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.3384, allocations: 1.807 MB / 1.248 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.3409, allocations: 0.7595 MB / 1.249 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5539/0.8948, allocations: 2.744 MB / 1.252 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.8966, allocations: 1.415 MB / 1.253 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.8984, allocations: 1.506 MB / 1.254 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.8996, allocations: 1.154 MB / 1.256 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.8998, allocations: 161.1 kB / 1.256 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.9009, allocations: 0.7916 MB / 1.256 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.9013, allocations: 0.6081 MB / 1.257 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.9019, allocations: 0.9508 MB / 1.258 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.9044, allocations: 2.774 MB / 1.261 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9044, allocations: 0.6094 kB / 1.261 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9044, allocations: 0 / 1.261 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.9044, allocations: 0 / 1.261 GB, free: 7.668 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003105/0.9075, allocations: 2.231 MB / 1.263 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.9076, allocations: 10.5 kB / 1.263 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.9078, allocations: 189 kB / 1.263 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.9197, allocations: 2.123 MB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.9219, allocations: 1.313 MB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.922, allocations: 89.83 kB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.9222, allocations: 119.4 kB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00581/0.928, allocations: 2.673 MB / 1.269 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.9281, allocations: 12.17 kB / 1.269 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.9283, allocations: 57.14 kB / 1.269 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006124/0.9289, allocations: 193.8 kB / 1.27 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007297/0.9362, allocations: 2.792 MB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.9485, allocations: 10.47 MB / 1.282 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006674/0.9552, allocations: 2.346 MB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.9584, allocations: 1.279 MB / 1.286 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-05/0.9585, allocations: 18.53 kB / 1.286 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.9585, allocations: 40.55 kB / 1.286 GB, free: 15.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/0.9586, allocations: 0 / 1.286 GB, free: 15.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.05811/1.017, allocations: 16.52 MB / 1.302 GB, free: 11.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.017, allocations: 67.47 kB / 1.302 GB, free: 11.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.018, allocations: 1.177 MB / 1.303 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/1.018, allocations: 51.7 kB / 1.303 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/1.019, allocations: 0.7556 MB / 1.304 GB, free: 10.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/1.02, allocations: 0.5491 MB / 1.305 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005679/1.02, allocations: 287.2 kB / 1.305 GB, free: 9.883 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.02, allocations: 306.2 kB / 1.305 GB, free: 9.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/1.024, allocations: 1.51 MB / 1.307 GB, free: 8.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/1.028, allocations: 1.778 MB / 1.309 GB, free: 7.773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/1.035, allocations: 3.366 MB / 1.312 GB, free: 5.867 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.035, allocations: 2.469 kB / 1.312 GB, free: 5.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01352/1.049, allocations: 5.286 MB / 1.317 GB, free: 3.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.049, allocations: 8.938 kB / 1.317 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.049, allocations: 13.16 kB / 1.317 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006803/1.056, allocations: 1.872 MB / 1.319 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.058, allocations: 413.8 kB / 1.319 GB, free: 1.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03076/1.088, allocations: 24.16 MB / 1.343 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.091, allocations: 309.4 kB / 1.343 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.092, allocations: 65.38 kB / 1.343 GB, free: 14.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008922/1.092, allocations: 467.6 kB / 1.344 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/1.093, allocations: 180.9 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.106, allocations: 5.326 MB / 1.349 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.106, allocations: 18.45 kB / 1.349 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.106, allocations: 18.94 kB / 1.349 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.106, allocations: 7.969 kB / 1.349 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.123, allocations: 7.423 MB / 1.356 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.123, allocations: 4 kB / 1.356 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.125, allocations: 354.3 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005997/1.131, allocations: 1.707 MB / 1.358 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.131, allocations: 51.95 kB / 1.358 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.16, allocations: 23.31 MB / 1.381 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.16, allocations: 4 kB / 1.381 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.173, allocations: 4.906 MB / 1.386 GB, free: 4.586 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/1.173, allocations: 0.4957 MB / 1.386 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/1.174, allocations: 28 kB / 1.386 GB, free: 4.043 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.176, allocations: 323.5 kB / 1.387 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/1.176, allocations: 144.4 kB / 1.387 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.177, allocations: 59.91 kB / 1.387 GB, free: 3.527 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001068/1.178, allocations: 0.7899 MB / 1.388 GB, free: 2.738 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.178, allocations: 4 kB / 1.388 GB, free: 2.734 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00185/1.179, allocations: 0.6601 MB / 1.388 GB, free: 2.074 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/1.192, allocations: 5.482 MB / 1.394 GB, free: 12.58 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.204, allocations: 5.159 MB / 1.399 GB, free: 7.348 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.204, allocations: 0 / 1.399 GB, free: 7.348 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007144/1.211, allocations: 3.371 MB / 1.402 GB, free: 3.895 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.213, allocations: 0.554 MB / 1.403 GB, free: 3.363 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/1.261, allocations: 21.9 MB / 1.424 GB, free: 13.05 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/1.262, allocations: 1.561 MB / 1.425 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001367/1.263, allocations: 394.4 kB / 1.426 GB, free: 11.06 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009394/1.264, allocations: 0.6554 MB / 1.426 GB, free: 10.4 MB / 1.123 GB Notification: Performance of SimCode: time 2.184e-06/1.264, allocations: 4 kB / 1.426 GB, free: 10.4 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4765/1.741, allocations: 58.75 MB / 1.484 GB, free: 424 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.71/26.45, allocations: 0 / 1.484 GB, free: 424 kB / 1.17 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches